Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @strapi/strapi
  4. ›
  5. CVE-2021-46440

CVE-2021-46440: Insecure Storage of Sensitive Information

May 4, 2022 (updated May 18, 2022)

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.

References

  • packetstormsecurity.com/files/166915/Strapi-3.6.8-Password-Disclosure-Insecure-Handling.html
  • github.com/advisories/GHSA-85vg-grr5-pw42
  • github.com/strapi/strapi/pull/12246
  • hub.docker.com/r/strapi/strapi
  • nvd.nist.gov/vuln/detail/CVE-2021-46440
  • strapi.io/

Code Behaviors & Features

Detect and mitigate CVE-2021-46440 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.0.0 before 4.1.5

Fixed versions

  • 4.1.5

Solution

Upgrade to version 4.1.5 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-922: Insecure Storage of Sensitive Information

Source file

npm/@strapi/strapi/CVE-2021-46440.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:53 +0000.