CVE-2025-65328

MEDIUM CVSS 3.1: 6.5 EPSS 0.27%
Updated Jan 30, 2026
Mega-Fence_Project
Parameter Value
CVSS 6.5 (MEDIUM)
Affected Versions before 25.1.914
Type CWE-807
Vendor Mega-Fence_Project
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Mega-Fence_Project Mega-Fence
cpe:2.3:a:mega-fence_project:mega-fence:*:*:*:*:*:*:*:*
— <= 25.1.914