CVE-2023-22894: Strapi information disclosure via private field filtering

CVE-2023-22894 · Severity: critical · CVSS 3.1 · Exploited in the wild · Published 2023-04-19

Strapi is a popular open-source headless CMS and API development platform. This vulnerability allows unauthenticated attackers to leak sensitive user information—including administrator passwords and password reset tokens—by filtering on private database fields. An attacker can exploit this to hijack admin accounts and gain full system control without needing any authentication or user interaction.

Technologies: @strapi/strapi (npm), Strapi. Vendors: npm, Strapi.

Quick answers

Is CVE-2023-22894 exploited in the wild?
Yes. CVE-2023-22894 is known to be exploited in the wild, first recorded on 8 October 2026. Treat it as urgent.
How severe is CVE-2023-22894?
Critical severity, with a CVSS score of 3.1, published 19 April 2023.
Which products and versions are affected?
@strapi/strapi (npm) SEMVER:introduced=3.2.1,fixed=4.8.0.
Is there a fix for CVE-2023-22894?
Yes. @strapi/strapi (npm): upgrade to 4.8.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2023-22894 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2023-22894?
Check whether you run @strapi/strapi (npm) or Strapi at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • @strapi/strapi (npm): upgrade to 4.8.0 or later
    npm install @strapi/strapi@4.8.0

Technical details

The vulnerability is an information disclosure flaw (CWE-312) affecting Strapi versions 3.2.1 through 4.7.1. An unauthenticated attacker can craft GET requests with filters targeting private fields (email, password, resetPasswordToken) and infer sensitive values by observing changes in API responses. The attack requires network access to the Strapi API endpoint and no authentication. Successful exploitation allows leaking password hashes and password reset tokens, which can be used to hijack administrator accounts and gain Strapi Super Administrator privileges. The fix is available in Strapi 4.8.0 and later. Detection is straightforward via log analysis using the provided regex pattern for exploited GET parameters.

Affected products

  • Strapi Strapi 3.2.1 through 4.7.1

Identifiers

  • CVE-2023-22894
  • GHSA-jjqf-j4w7-92w8

Timeline

  • 2023-04-19: disclosed: GHSA-jjqf-j4w7-92w8 and CVE-2023-22894 published
  • 2023-04-19: patched: Fix released in Strapi 4.8.0

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.