Mega-Fence (webgate-lib.*) 25.1.914 and prior trusts the first value of the X-Forwarded-For (XFF) header as the client IP without validating a trusted proxy chain. An attacker can supply an arbitrary XFF value in a remote request to spoof the client IP, which is then propagated to security-relevant state (e.g., WG_CLIENT_IP cookie). Deployments that rely on this value for IP allowlists may be bypassed.
References
| Link | Resource |
|---|---|
| https://drive.proton.me/urls/MY05PVBFXG#xDd2Xqy98WM9 | Broken Link |
| https://raw.githubusercontent.com/p1aintext/CVE/main/CVE-2025-65328.md | Exploit Third Party Advisory |
Configurations
History
30 Jan 2026, 01:35
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:mega-fence_project:mega-fence:*:*:*:*:*:*:*:* | |
| First Time |
Mega-fence Project
Mega-fence Project mega-fence |
|
| References | () https://drive.proton.me/urls/MY05PVBFXG#xDd2Xqy98WM9 - Broken Link | |
| References | () https://raw.githubusercontent.com/p1aintext/CVE/main/CVE-2025-65328.md - Exploit, Third Party Advisory |
05 Jan 2026, 21:16
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.5 |
| CWE | CWE-807 |
05 Jan 2026, 16:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-01-05 16:15
Updated : 2026-01-30 01:35
NVD link : CVE-2025-65328
Mitre link : CVE-2025-65328
CVE.ORG link : CVE-2025-65328
JSON object : View
Products Affected
mega-fence_project
- mega-fence
CWE
CWE-807
Reliance on Untrusted Inputs in a Security Decision
