{"id":"CVE-2023-39655","aliases":["EUVD-2024-0346","GHSA-fqh6-6h6c-366m"],"status":"published","title":"CouchAuth host header injection vulnerability leaks the password reset token","description":"A host header injection vulnerability exists in the NPM package @perfood/couch-auth versions \u003c= 0.20.0. By sending a specially crafted host header in the forgot password request, it is possible to send password reset links to users which, once clicked, lead to an attacker-controlled server and thus leak the password reset token. This may allow an attacker to reset other users' passwords and take over their accounts.","severity":{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00525,"percentile":0.44775,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-74"],"published":"2024-01-03T00:00:00Z","modified":"2026-06-17T06:12:40Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"@perfood/couch-auth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.20.0"}]}]},{"source":"osv","ecosystem":"npm","package":"@perfood/couch-auth","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.20.0"}]}]}],"products":[{"vendor":"perfood","product":"couchauth"}],"references":[{"url":"https://www.npmjs.com/package/%40perfood/couch-auth","tags":["x_transferred","Product","web"]},{"url":"https://github.com/dub-flow/vulnerability-research/tree/main/CVE-2023-39655","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39655","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-fqh6-6h6c-366m"},{"url":"https://github.com/perfood/couch-auth","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-39655","description":"A host header injection vulnerability exists in the NPM package @perfood/couch-auth versions \u003c= 0.20.0. By sending a specially crafted host header in the forgot password request, it is possible to send password reset links to users which, once clicked, lead to an attacker-controlled server and thus leak the password reset token. This may allow an attacker to reset other users' passwords and take over their accounts.","status":"published","published":"2024-01-03T00:00:00Z","modified":"2025-06-18T15:24:04.602Z","cvss":[{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:35:33.138994Z"}],"euvd":[{"id":"EUVD-2024-0346","description":"A host header injection vulnerability exists in the NPM package @perfood/couch-auth versions \u003c= 0.20.0. By sending a specially crafted host header in the forgot password request, it is possible to send password reset links to users which, once clicked, lead to an attacker-controlled server and thus leak the password reset token. This may allow an attacker to reset other users' passwords and take over their accounts.","status":"published","published":"2024-01-03T00:00:00Z","modified":"2025-06-18T15:24:04Z","cvss":[{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T20:32:20.01453Z"}],"ghsa":[{"id":"GHSA-fqh6-6h6c-366m","title":"CouchAuth host header injection vulnerability leaks the password reset token","description":"A host header injection vulnerability exists in the NPM package @perfood/couch-auth versions \u003c= 0.20.0. By sending a specially crafted host header in the forgot password request, it is possible to send password reset links to users which, once clicked, lead to an attacker-controlled server and thus leak the password reset token. This may allow an attacker to reset other users' passwords and take over their accounts.","status":"published","published":"2024-01-03T15:30:26Z","modified":"2024-01-09T21:52:42Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:37:30.183224Z"}],"nvd":[{"id":"CVE-2023-39655","description":"A host header injection vulnerability exists in the NPM package @perfood/couch-auth versions \u003c= 0.20.0. By sending a specially crafted host header in the forgot password request, it is possible to send password reset links to users which, once clicked, lead to an attacker-controlled server and thus leak the password reset token. This may allow an attacker to reset other users' passwords and take over their accounts.","status":"published","published":"2024-01-03T13:15:08.467Z","modified":"2026-06-17T06:12:40.737Z","cvss":[{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:08:59.830468Z"}],"osv":[{"id":"GHSA-fqh6-6h6c-366m","title":"CouchAuth host header injection vulnerability leaks the password reset token","description":"A host header injection vulnerability exists in the NPM package @perfood/couch-auth versions \u003c= 0.20.0. By sending a specially crafted host header in the forgot password request, it is possible to send password reset links to users which, once clicked, lead to an attacker-controlled server and thus leak the password reset token. This may allow an attacker to reset other users' passwords and take over their accounts.","status":"published","published":"2024-01-03T15:30:26Z","modified":"2024-01-03T22:41:43.878553Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T15:46:46.760785Z"}]}}
