Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mega-Fence Project | Mega-Fence | <= 25.1.914 |
Related Weaknesses (CWE)
References
- https://drive.proton.me/urls/MY05PVBFXG#xDd2Xqy98WM9Broken Link
- https://raw.githubusercontent.com/p1aintext/CVE/main/CVE-2025-65328.mdExploitThird Party Advisory
FAQ
What is CVE-2025-65328?
CVE-2025-65328 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 ...
How severe is CVE-2025-65328?
CVE-2025-65328 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-65328?
Check the references section above for vendor advisories and patch information. Affected products include: Mega-Fence Project Mega-Fence.