עברית

Vulnerability Intelligence

CVE-2025-65328

Medium 6.5

Published
Last modified
NVD status
Analyzed

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 products

mega-fence_project: mega-fence

References2

Metrics

CVSS 3.1
6.5 MEDIUM Score source: CNA CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS — exploit probability
0% percentile: 19 · as of 11 November 2026
CWE
CWE-807

Could this be exploited in your environment?

A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.