CVEvulnerability
CVE-2025-65328
6.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-01-05
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-807
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.
Affected configurations
• mega-fence project mega-fence (<= 25.1.914)
Related
Weakness · CWE (1)
- CWE-807 Reliance on Untrusted Inputs in a Security Decision weakness
References
- https://drive.proton.me/urls/MY05PVBFXG#xDd2Xqy98WM9 Broken Link
- https://raw.githubusercontent.com/p1aintext/CVE/main/CVE-2025-65328.md Exploit, Third Party Advisory