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
No history.
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
