CVE-2025-65328

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:mega-fence_project:mega-fence:*:*:*:*:*:*:*:*

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