Improper Output Neutralization for Logs Affecting yhirose/cpp-httplib package, versions [,0.27.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Output Neutralization for Logs vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-YHIROSECPPHTTPLIB-14220404
  • published8 Dec 2025
  • disclosed5 Dec 2025
  • creditnaxus-audit

Introduced: 5 Dec 2025

NewCVE-2025-66577  (opens in a new tab)
CWE-117  (opens in a new tab)

How to fix?

Upgrade yhirose/cpp-httplib to version 0.27.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Output Neutralization for Logs via the unconditional acceptance of attacker-supplied HTTP headers in the get_client_ip function. An attacker can manipulate server-visible metadata, logs, and authorization decisions by supplying crafted X-Forwarded-For or X-Real-IP headers, leading to spoofed client IPs being recorded in access and error logs.

References

CVSS Base Scores

version 4.0
version 3.1