{"id":"CVE-2025-65328","aliases":["CVE-2025-65328"],"related":[],"kind":"vulnerability","state":"published","title":"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…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-01-05T00:00:00.000Z","modified":"2026-11-04T22:10:00.210Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-807"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"25.1.914"}],"vendor":"mega-fence_project","product":"mega-fence","cpe":"cpe:2.3:a:mega-fence_project:mega-fence:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://drive.proton.me/urls/MY05PVBFXG#xDd2Xqy98WM9","tags":["broken-link"],"sources":["cvelist","nvd"]},{"url":"https://raw.githubusercontent.com/p1aintext/CVE/main/CVE-2025-65328.md","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-01-05T21:08:04.173Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-65328","url":"https://www.cve.org/CVERecord?id=CVE-2025-65328","licence":"CVE Terms of Use","modified":"2026-01-05T21:08:06.488Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-65328","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-65328","licence":"Public domain","modified":"2026-11-04T22:10:00.210Z"}],"updatedAt":"2026-11-25T22:59:10.277Z","epss":{"score":0.00269,"percentile":0.20411,"date":"2026-12-01T12:00:22.000Z"}}