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

04 Nov 2026, 22:10

Type Values Removed Values Added
Summary
  • (es) Mega-Fence (webgate-lib.*) 25.1.914 y anteriores confía en el primer valor del encabezado X-Forwarded-For (XFF) como la IP del cliente sin validar una cadena de proxy de confianza. Un atacante puede proporcionar un valor XFF arbitrario en una solicitud remota para suplantar la IP del cliente, que luego se propaga a un estado relevante para la seguridad (por ejemplo, la cookie WG_CLIENT_IP). Las implementaciones que dependen de este valor para listas blancas de IP pueden ser eludidas.

30 Jan 2026, 01:35

Type Values Removed Values Added
First Time Mega-fence Project mega-fence
Mega-fence Project
CPE cpe:2.3:a:mega-fence_project:mega-fence:*:*:*:*:*:*:*:*
References () https://drive.proton.me/urls/MY05PVBFXG#xDd2Xqy98WM9 - () https://drive.proton.me/urls/MY05PVBFXG#xDd2Xqy98WM9 - Broken Link
References () https://raw.githubusercontent.com/p1aintext/CVE/main/CVE-2025-65328.md - () https://raw.githubusercontent.com/p1aintext/CVE/main/CVE-2025-65328.md - Exploit, Third Party Advisory

05 Jan 2026, 21:16

Type Values Removed Values Added
CWE CWE-807
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5

05 Jan 2026, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-05 16:15

Updated : 2026-11-04 22:10


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