Vulnerabilities

CVE-2025-65328

Medium 6.5 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-01-05
Last modified
2026-11-04
Assigned by
cve@mitre.org
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Scored by
134c704f-9b21-4f2e-91b3-4a467353bcc0
Probability of exploitation
0.2 % higher than 14 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Mega-fence Project Mega-fence ≤ 25.1.914 Affected

Weakness type

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities