Vulnerability Explorer›CVE-2025-65328
VULNERABILITY
CVE-2025-65328
Common Vulnerabilities and Exposures record
MEDIUM
Summary
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.
Risk
- CVSS
- 6.5
- Severity
- MEDIUM
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Timeline
- Published
- Jan 5, 2026 16:15
- Modified
- Nov 4, 2026 22:10
- Last observed
- Nov 4, 2026 18:00
CWE
Affected product identifiers
cpe:2.3:a:mega-fence_project:mega-fence:*:*:*:*:*:*:*:*