CVE-2021-46440
HIGH 7.5CVSS 3.1Insecure password handling vulnerability in Strapi
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.
- Published
- 3 May 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-522CWE-922
- Also known as
- GHSA-85vg-grr5-pw42
- Sources
- NVDJSONOSV GHSA-85vg-grr5-pw42JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | strapi | strapicpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:* |
< 3.6.9 | 3.6.9 |
| NVD | strapi | strapicpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.1.5 | 4.1.5 |
| OSV | npm | strapi | < 3.6.9 | 3.6.9 |
| OSV | npm | @strapi/strapi | >= 4.0.0, < 4.1.5 | 4.1.5 |
References
- http://packetstormsecurity.com/files/166915/Strapi-3.6.8-Password-Disclosure-Insecure-Handling.html · Exploit, Third Party Advisory, VDB Entry, WEB
- https://github.com/strapi/strapi/pull/12246 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://hub.docker.com/r/strapi/strapi · Product, Third Party Advisory, WEB
- https://strapi.io/ · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-46440 · ADVISORY
- https://github.com/strapi/strapi · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 3 May 2022)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 4 May 2022)