CVE-2021-46440 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 documentat...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Strapi | Strapi | < 3.6.9 ≥ 4.0.0, < 4.1.5 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-46440 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-302252-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Published | 2022-05-03 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-522: CWE-522
Related attack patterns (CAPEC)
CAPEC-102 Session Sidejacking via CWE-522
CAPEC-474 Signature Spoofing by Key Theft via CWE-522
CAPEC-509 Kerberoasting via CWE-522
CAPEC-551 Modify Existing Service via CWE-522
CAPEC-561 Windows Admin Shares with Stolen Credentials via CWE-522
Show all 13
CAPEC-644 Use of Captured Hashes (Pass The Hash) via CWE-522
CAPEC-645 Use of Captured Tickets (Pass The Ticket) via CWE-522
CAPEC-50 Password Recovery Exploitation via CWE-522
CAPEC-555 Remote Services with Stolen Credentials via CWE-522
CAPEC-600 Credential Stuffing via CWE-522
CAPEC-652 Use of Known Kerberos Credentials via CWE-522
CAPEC-653 Use of Known Operating System Credentials via CWE-522
CAPEC-560 Use of Known Domain Credentials via CWE-522
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2021-46440 involves the storage of passwords in a recoverable format within the DOCUMENTATION plugin of Strapi versions prior to 3.6.9 and 4.x prior to 4.1.5, enabling attackers to extract cleartext passwords from cookies, potentially leading to unauthorized API access.
An attacker can intercept an HTTP request containing a victim's cookie, decode the cookie using base64, and extract the stored password in cleartext. This password can then be used to access API documentation and potentially perform further unauthorized API actions.
Questions
What is CVE-2021-46440?
CVE-2021-46440 involves the storage of passwords in a recoverable format within the DOCUMENTATION plugin of Strapi versions prior to 3.6.9 and 4.x prior to 4.1.5, enabling attackers to extract cleartext passwords from cookies, potentially leading to unauthorized API access.
What is the CVSS score for CVE-2021-46440?
CVE-2021-46440 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 2.9%.
Is CVE-2021-46440 actively exploited?
No confirmed active exploitation of CVE-2021-46440 as of 2026-05-30.
How do I remediate CVE-2021-46440?
Priority: HIGH. Advisory: https://strapi.io/ PSIRT: [email protected]
What systems are affected by CVE-2021-46440?
CVE-2021-46440 affects Strapi Strapi.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Strapi","product":"Strapi","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.