{"id":"CVE-2021-46440","aliases":["EUVD-2022-3114","GHSA-85vg-grr5-pw42"],"status":"published","title":"Insecure password handling vulnerability in Strapi","description":"Storing passwords in a recoverable format in the DOCUMENTATION plugin component of Strapi before 3.6.9 and 4.x before 4.1.5 allows an attacker to access a victim's HTTP request, get the victim's cookie, perform a base64 decode on the victim's cookie, and obtain a cleartext password, leading to getting API documentation for further API attacks.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.02883,"percentile":0.87057,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-522","CWE-922"],"published":"2022-05-03T17:03:51Z","modified":"2026-10-20T10:55:09Z","fixes":[{"ecosystem":"npm","package":"strapi","fixed_in":["3.6.9"],"sources":["ghsa","osv"]},{"ecosystem":"npm","package":"@strapi/strapi","fixed_in":["4.1.5"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"strapi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.9"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@strapi/strapi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.1.5"}]}]},{"source":"osv","ecosystem":"npm","package":"strapi","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.6.9"}]}]},{"source":"osv","ecosystem":"npm","package":"@strapi/strapi","ranges":[{"type":"SEMVER","events":[{"introduced":"4.0.0"},{"fixed":"4.1.5"}]}]}],"products":[{"vendor":"strapi","product":"strapi"}],"references":[{"url":"https://strapi.io/","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory"]},{"url":"https://hub.docker.com/r/strapi/strapi","tags":["x_refsource_MISC","x_transferred","Product","Third Party Advisory","advisory","web"]},{"url":"http://packetstormsecurity.com/files/166915/Strapi-3.6.8-Password-Disclosure-Insecure-Handling.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence","web"]},{"url":"https://github.com/strapi/strapi/pull/12246","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46440","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-85vg-grr5-pw42"},{"url":"https://github.com/strapi/strapi","tags":["package"]},{"url":"https://strapi.io","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-46440","description":"Storing passwords in a recoverable format in the DOCUMENTATION plugin component of Strapi before 3.6.9 and 4.x before 4.1.5 allows an attacker to access a victim's HTTP request, get the victim's cookie, perform a base64 decode on the victim's cookie, and obtain a cleartext password, leading to getting API documentation for further API attacks.","status":"published","published":"2022-05-03T17:03:51Z","modified":"2024-08-04T05:02:11.785Z","updated_at":"2026-11-02T14:33:02.930115Z"}],"euvd":[{"id":"EUVD-2022-3114","description":"Storing passwords in a recoverable format in the DOCUMENTATION plugin component of Strapi before 3.6.9 and 4.x before 4.1.5 allows an attacker to access a victim's HTTP request, get the victim's cookie, perform a base64 decode on the victim's cookie, and obtain a cleartext password, leading to getting API documentation for further API attacks.","status":"published","published":"2022-05-03T17:03:51Z","modified":"2024-08-04T05:02:11Z","updated_at":"2026-11-03T03:08:23.591313Z"}],"ghsa":[{"id":"GHSA-85vg-grr5-pw42","title":"Insecure password handling vulnerability in Strapi","description":"Storing passwords in a recoverable format in the DOCUMENTATION plugin component of Strapi before 3.6.9 and 4.x before 4.1.5 allows an attacker to access a victim's HTTP request. From this, the attacker can get the victim's cookie, base64 decode it, and obtain a cleartext password, leading to getting API documentation for further API attacks.","status":"published","published":"2022-05-04T00:00:22Z","modified":"2023-02-01T05:01:35Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-922"],"updated_at":"2026-11-02T14:36:30.61364Z"}],"nvd":[{"id":"CVE-2021-46440","description":"Storing passwords in a recoverable format in the DOCUMENTATION plugin component of Strapi before 3.6.9 and 4.x before 4.1.5 allows an attacker to access a victim's HTTP request, get the victim's cookie, perform a base64 decode on the victim's cookie, and obtain a cleartext password, leading to getting API documentation for further API attacks.","status":"published","published":"2022-05-03T18:15:08.763Z","modified":"2026-06-17T04:14:53.223Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-522"],"updated_at":"2026-11-02T14:07:06.029737Z"}],"osv":[{"id":"CVE-2021-46440","description":"Storing passwords in a recoverable format in the DOCUMENTATION plugin component of Strapi before 3.6.9 and 4.x before 4.1.5 allows an attacker to access a victim's HTTP request, get the victim's cookie, perform a base64 decode on the victim's cookie, and obtain a cleartext password, leading to getting API documentation for further API attacks.","status":"published","published":"2022-05-03T18:15:08.763Z","modified":"2026-10-20T10:55:09.62846512Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:22.18434Z"},{"id":"GHSA-85vg-grr5-pw42","title":"Insecure password handling vulnerability in Strapi","description":"Storing passwords in a recoverable format in the DOCUMENTATION plugin component of Strapi before 3.6.9 and 4.x before 4.1.5 allows an attacker to access a victim's HTTP request. From this, the attacker can get the victim's cookie, base64 decode it, and obtain a cleartext password, leading to getting API documentation for further API attacks.","status":"published","published":"2022-05-04T00:00:22Z","modified":"2023-11-08T04:07:26.265312Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-922"],"updated_at":"2026-11-02T15:46:41.732368Z"}]}}
