{"id":"CVE-2022-36032","published":"2022-09-06T18:20:13Z","modified":"2025-04-23T17:14:48Z","title":"ReactPHP's HTTP server parses encoded cookie names so malicious `__Host-` and `__Secure-` cookies can be sent","vendor":"reactphp","product":"http","tier":"tail","description":{"text":"ReactPHP HTTP is a streaming HTTP client and server implementation for ReactPHP. In ReactPHP's HTTP server component versions starting with 0.7.0 and prior to 1.7.0, when ReactPHP is processing incoming HTTP cookie values, the cookie names are url-decoded. This may lead to cookies with prefixes like `__Host-` and `__Secure-` confused with cookies that decode to such prefix, thus leading to an attacker being able to forge cookie which is supposed to be secure. This issue is fixed in ReactPHP HTTP version 1.7.0. As a workaround, Infrastructure or DevOps can place a reverse proxy in front of the ReactPHP HTTP server to filter out any unexpected `Cookie` request headers.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01206,"percentile":0.69067,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-565","name":"Reliance on Cookies without Validation and Integrity Checking"}],"references":[{"url":"https://github.com/reactphp/http/security/advisories/GHSA-w3w9-vrf5-8mx8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/reactphp/http/pull/175","tags":["x_refsource_MISC"]},{"url":"https://github.com/reactphp/http/commit/663c9a3b77b71463fa7fcb76a6676ffd16979dd6","tags":["x_refsource_MISC"]},{"url":"https://github.com/reactphp/http/releases/tag/v1.7.0","tags":["x_refsource_MISC"]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":13.81},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"reactphp","affectedVersions":[{"vendor":"reactphp","product":"http","versions":[">= 0.7.0, < 1.7.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-23T15:52:06.054764Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"react/http","vulnerableRanges":[">=0.7.0, <1.7.0"],"patched":["1.7.0"],"from":["GHSA-w3w9-vrf5-8mx8"],"provenance":"source"}],"summary":{"text":"ReactPHP HTTP's server component, in versions from 0.7.0 before 1.7.0, URL-decodes incoming cookie names, so an encoded name can be read as a __Host- or __Secure- prefixed cookie and be mistaken for a secure cookie. An attacker with network access to the server can forge such a cookie without authentication, user interaction, or any special configuration, causing the application to trust a cookie it should treat as untrusted.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:10:02Z"},"euvd":{"id":"EUVD-2022-6955","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-36032","published":"2022-09-06","fixed":"1.7.0","kev":false},{"cve":"CVE-2023-26044","published":"2023-05-17","fixed":"1.9.0","kev":false,"link":{"from":"CVE-2022-36032","to":"CVE-2023-26044","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:react/http","fromFixed":"1.7.0","toFixed":"1.9.0","daysApart":253}]}},{"cve":"CVE-2026-104827","published":"2026-10-15","fixed":"1.11.1","kev":false},{"cve":"CVE-2026-84997","published":"2026-09-16","fixed":"1.11.1","kev":false}],"package":"Packagist:react/http"}}