{"id":"CVE-2025-53094","summary":"ESPAsyncWebServer Vulnerable to CRLF Injection in AsyncWebHeader.cpp","details":"ESPAsyncWebServer is an asynchronous HTTP and WebSocket server library for ESP32, ESP8266, RP2040 and RP2350. In versions up to and including 3.7.8, a CRLF (Carriage Return Line Feed) injection vulnerability exists in the construction and output of HTTP headers within `AsyncWebHeader.cpp`. Unsanitized input allows attackers to inject CR (`\\r`) or LF (`\\n`) characters into header names or values, leading to arbitrary header or response manipulation. Manipulation of HTTP headers and responses can enable a wide range of attacks, making the severity of this vulnerability high. A fix is available at pull request 211 and is expected to be part of version 3.7.9.","aliases":["GHSA-87j8-6f7g-h8wh"],"modified":"2026-04-02T12:52:41.897738Z","published":"2025-06-27T19:57:15.032Z","database_specific":{"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53094.json","cwe_ids":["CWE-113","CWE-93"]},"references":[{"type":"WEB","url":"https://github.com/ESP32Async/ESPAsyncWebServer/blob/1095dfd1ecf1a903aede29854232af1b24f089b1/src/AsyncWebHeader.cpp#L6-L32"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53094.json"},{"type":"ADVISORY","url":"https://github.com/ESP32Async/ESPAsyncWebServer/security/advisories/GHSA-87j8-6f7g-h8wh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53094"},{"type":"FIX","url":"https://github.com/ESP32Async/ESPAsyncWebServer/pull/211"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/esp32async/espasyncwebserver","events":[{"introduced":"0"},{"last_affected":"f06bca1f7718e84dd48a1f6a883c02d871ace7c9"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"3.7.8"}]}}],"versions":["v3.6.0","v3.6.1","v3.6.2","v3.7.0","v3.7.1","v3.7.2","v3.7.3","v3.7.4","v3.7.5","v3.7.6","v3.7.7","v3.7.8"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-53094.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}]}