{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-23934","id":"CVE-2023-23934","title":"Wrkzeug's incorrect parsing of nameless cookies leads to __Host- cookies bypass","description":"Werkzeug is a comprehensive WSGI web application library. Browsers may allow \"nameless\" cookies that look like `=value` instead of `key=value`. A vulnerable browser may allow a compromised application on an adjacent subdomain to exploit this to set a cookie like `=__Host-test=bad` for another subdomain. Werkzeug prior to 2.2.3 will parse the cookie `=__Host-test=bad` as __Host-test=bad`. If a Werk","descriptionLong":"Werkzeug is a comprehensive WSGI web application library. Browsers may allow \"nameless\" cookies that look like `=value` instead of `key=value`. A vulnerable browser may allow a compromised application on an adjacent subdomain to exploit this to set a cookie like `=__Host-test=bad` for another subdomain. Werkzeug prior to 2.2.3 will parse the cookie `=__Host-test=bad` as __Host-test=bad`. If a Werkzeug application is running next to a vulnerable or malicious subdomain which sets such a cookie using a vulnerable browser, the Werkzeug application will see the bad cookie value but the valid cookie key. The issue is fixed in Werkzeug 2.2.3.","published":"2023-02-14T19:56:22.659Z","updated":"2026-10-28T02:30:23.701410187Z","reserved":"2023-01-19T21:12:31.360Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":2.6,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"GitHub_M"},"metrics":[{"version":"3.1","score":2.6,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"GitHub_M"},{"version":"3.1","score":2.6,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"github.com"},{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"NVD"},{"version":"3.1","score":2.6,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":2.6,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"GitHub"}],"rating":"low","products":["pallets werkzeug"],"affectedProducts":[{"vendor":"pallets","product":"werkzeug","defaultStatus":null,"versions":[{"version":"< 2.2.3","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"werkzeug","purl":"pkg:pypi/werkzeug","ranges":["<2.2.3"],"fixed":["2.2.3"],"advisory":"GHSA-px8h-6qxv-m22q"}],"cwes":["CWE-20"],"aliases":["GHSA-px8h-6qxv-m22q","PYSEC-2023-57"],"references":[{"url":"https://github.com/pallets/werkzeug/security/advisories/GHSA-px8h-6qxv-m22q","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/pallets/werkzeug/commit/cf275f42acad1b5950c50ffe8ef58fe62cdce028","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/pallets/werkzeug/releases/tag/2.2.3","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://www.debian.org/security/2023/dsa-5470","tags":["x_transferred","advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20230818-0003/","tags":["x_transferred","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/23xxx/CVE-2023-23934.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23934","tags":["advisory"]},{"url":"https://github.com/pallets/werkzeug","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/werkzeug/PYSEC-2023-57.yaml","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20230818-0003","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00507,"epssPercentile":0.43954,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-23934","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23934","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-23934","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-px8h-6qxv-m22q","ok":true,"note":"GHSA-px8h-6qxv-m22q"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-23934","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}