Insufficient verification of data authenticity in Cpp-httplib - CVE-2025-66577

 

Insufficient verification of data authenticity in Cpp-httplib - CVE-2025-66577

Published: December 8, 2025


Vulnerability identifier: #VU119256
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-66577
CWE-ID: CWE-345
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Cpp-httplib Project
Affected software:
Cpp-httplib

Detailed vulnerability description

The vulnerability allows a remote attacker to perform MitM attack.

The vulnerability exists due to software trusts data passed via the X-Forwarded-For/X-Real-IP headers.  A remote attacker can modify these headers and poison log files or inject arbitrary HTTP headers into HTTP requests. 


How to mitigate CVE-2025-66577

Install updates from vendor's website.

Sources