Live threats

All CVEs / Strapi

CVE-2021-46440Strapi

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Strapi.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
strapistrapi< 3.6.9
strapistrapi≥ 4.0.0 < 4.1.5

Official sources

References

Links published by the sources. Open them with care.