High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-46440
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:03 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-46440
Complete source record
{
"id": "3fbb0a7cb3516fbe24b755be660575d2f253ee711765ebd0e24ec6bd01baa050",
"url": "https://osv.dev/vulnerability/CVE-2021-46440",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-46440",
"summary": "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.",
"evidence": "osv:CVE-2021-46440",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-46440",
"aliases": [
"CVE-2021-46440",
"GHSA-85vg-grr5-pw42"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/strapi/strapi",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "db6a77697779dcd3434e295f5689faa15080c775"
},
{
"introduced": "b181702f0202b2c6d645d42b195a831f25cd0b03"
},
{
"fixed": "f1859f03756a5feb888583dba85bcec7745ce21f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.6.9"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.1.5"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v4.1.4",
"v4.1.3",
"v4.1.1",
"v4.1.0",
"v4.0.5",
"v3.6.8",
"v4.0.4",
"v4.0.3",
"v4.0.2",
"v4.0.1",
"v3.6.7",
"v3.6.6",
"v3.6.5",
"v3.6.4",
"v3.6.3",
"v3.6.2",
"v3.6.1",
"v3.6.0",
"v3.5.4",
"v3.5.3",
"v3.5.2",
"v3.5.1",
"v3.5.0",
"v3.4.6",
"v3.4.5",
"v3.4.4",
"v3.4.3",
"v3.4.2",
"v3.4.1",
"v3.2.2",
"v3.2.1",
"v3.1.4",
"v3.1.3",
"v3.1.0",
"v3.0.0-beta.20",
"v3.0.0-beta.19.4",
"v3.0.0-beta.19.3",
"v3.0.0-beta.19.2",
"v3.0.0-beta.19.1",
"v3.0.0-beta.19",
"v3.0.0-beta.18.8",
"v3.0.0-beta.18.7",
"v3.0.0-beta.18.6",
"v3.0.0-beta.18.5",
"v3.0.0-beta.18.4",
"v3.0.0-beta.16.7",
"v3.0.0-beta.18.3",
"v3.0.0-beta.18.2",
"v3.0.0-beta.18.1",
"v3.0.0-beta.18",
"v3.0.0-beta.17.8",
"v3.0.0-beta.17.7",
"v3.0.0-beta.17.6",
"v3.0.0-beta.17.5",
"v3.0.0-beta.17.4",
"v3.0.0-beta.17.2",
"v3.0.0-beta.17.1",
"v3.0.0-beta.17",
"v3.0.0-beta.16.8",
"v3.0.0-beta.16.6",
"v3.0.0-beta.16.5",
"v3.0.0-beta.16.4",
"v3.0.0-beta.16.3",
"v3.0.0-beta.16.2",
"v3.0.0-beta.16.1",
"v3.0.0-beta.16",
"v3.0.0-beta.15",
"v3.0.0-beta.14",
"v3.0.0-beta.13",
"v3.0.0-beta.12",
"v3.0.0-beta.11",
"v3.0.0-beta.10",
"v3.0.0-beta.9",
"v3.0.0-beta.8",
"v3.0.0-beta.7",
"v3.0.0-beta.6",
"v3.0.0-beta.5",
"v3.0.0-beta.4",
"v3.0.0-beta.3",
"v3.0.0-beta.2",
"v3.0.0-beta.1",
"v3.0.0-beta.0",
"v3.0.0-alpha.23.1",
"v3.0.0-alpha.13",
"v3.0.0-alpha.12.7.1",
"v3.0.0-alpha.12.7",
"v3.0.0-alpha.9",
"v3.0.0-alpha.7.3",
"v3.0.0-alpha.6.7",
"v3.0.0-alpha.6.4",
"v3.0.0-alpha.4",
"v3.0.0-alpha.4.8",
"v1.5.4",
"v1.5.3",
"v1.5.2",
"v1.5.1",
"v1.5.0",
"v1.4.1",
"v1.4.0",
"v1.3.1",
"v1.3.0",
"v1.2.0",
"v1.1.0",
"v1.0.6",
"v1.0.5",
"v1.0.1",
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46440.json"
}
}
],
"modified": "2026-10-20T10:55:09.628465120Z",
"provider": "osv",
"references": [
"https://hub.docker.com/r/strapi/strapi",
"https://strapi.io/",
"https://github.com/strapi/strapi/pull/12246"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-46440",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386970,
"published_at": "2022-05-03T18:15:08.763+00:00"
}