CVE-2021-46440Strapi
High 7.5 No auth needed
Follow: this CVE · Strapi · Strapi We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.9% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- May 3, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-522
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Strapi.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @strapi/strapi |
≥ 4.0.0 < 4.1.5 |
4.1.5 |
npm install @strapi/strapi@4.1.5 |
| npm | strapi |
< 3.6.9 |
3.6.9 |
npm install strapi@3.6.9 |
Per OSV / GitHub Advisories (GHSA-85vg-grr5-pw42). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| strapi | strapi | < 3.6.9 |
| strapi | strapi | ≥ 4.0.0 < 4.1.5 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- github.com Issue Tracking Patch Third Party Advisory
- hub.docker.com Product Third Party Advisory
- strapi.io Vendor Advisory