CVE-2023-22894
Strapi Cleartext Storage of Sensitive Information Vulnerability
Description
CVE-2023-22894 is a medium-severity information disclosure vulnerability in Strapi, the open source headless CMS, affecting versions through 4.5.5 (and, per the published version data, releases from 3.2.1 up to 4.8.0). An attacker who already has admin panel access can abuse the query filter to filter users by columns holding sensitive values and infer those values from the API responses. With super admin access, this yields the password hash and password reset token of every user; with a lower-privileged admin account that may read usernames and emails of API users, it yields sensitive data for all API users, though not for other admin accounts. The underlying problem is that sensitive fields are reachable by a filtering mechanism that was never meant to expose them. CISA has added CVE-2023-22894 to the Known Exploited Vulnerabilities catalog, its EPSS score of 3.6% ranks it in the 89th percentile, and its remediation deadline of October 11, 2026 has already passed.
KEV Information
CVSS Score
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:NOpen in CalculatorAffected Products
| Vendor | Product | Version |
|---|---|---|
| strapi | strapi | >= 3.2.1, < 4.8.0 |
Multiple CVSS Assessments
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/strapi/strapi/releases(Release Notes)
- https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve(Exploit, Vendor Advisory)
- https://www.ghostccamm.com/blog/multi_strapi_vulns/(Exploit, Third Party Advisory)
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-22894(US Government Resource)
Weakness Type
CWE-312: Cleartext Storage of Sensitive Information
This weakness covers sensitive information held in a form that is accessible from a control sphere it should not be reachable from. In Strapi, user records keep password hashes and password reset tokens in columns that the admin query filter can address; nothing decrypts or deliberately prints them, but filtering on them and observing which records match discloses their content character by character, so the storage is effectively readable from the admin API.
Learn more: CWE-312 — Cleartext Storage of Sensitive Information
Impact Analysis
CVE-2023-22894 has a CVSS 3.1 base score of 4.9 (Medium) with the vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N. Privileges Required (High) is what keeps the score in the medium band: the attacker needs admin panel access, so this is a privilege escalation and lateral movement vulnerability rather than an entry point. Attack Vector (Network), Attack Complexity (Low), User Interaction (None): given such an account, the attack is a series of ordinary API queries with crafted filters — no race, no special tooling, no victim. Confidentiality (High), Integrity (None), Availability (None): nothing is written or destroyed, but what can be read is the worst category of data in a CMS. A password reset token is more damaging than a hash, because it can be used directly to take over an account without any cracking; a super admin who extracts reset tokens for all users can assume any identity in the system, and a lower-privileged admin can do so for every API user. In deployments where the Strapi admin panel is shared across teams or agencies, that converts a limited editorial account into full control. The EPSS score of 3.6% in the 89th percentile is high, and CISA has confirmed exploitation in the wild.
Exploit Maturity
CISA has added CVE-2023-22894 to the Known Exploited Vulnerabilities catalog, confirming exploitation in the wild, and the remediation deadline of October 11, 2026 has already passed; the entry does not flag use in ransomware campaigns. Public exploit detail is available: the reference set tags both Strapi's own security disclosure post and the third-party write-up at ghostccamm.com on multiple Strapi vulnerabilities as exploit references, so the filter syntax and the inference procedure are documented in the open. With an EPSS score of 3.6% in the 89th percentile, exploitation likelihood is high for a vulnerability that needs an authenticated admin session. The practical attack chain to plan against is a compromised or shared editorial admin account used to harvest password reset tokens, which are then redeemed to take over higher-privileged accounts — so rotating credentials after patching is not optional.
Remediation
- Carry out the action CISA requires, without delay. Apply mitigations in accordance with Strapi's instructions, comply with CISA's BOD 26-04 "Prioritizing Security Updates Based on Risk" guidance and the "Forensics Triage Requirements", and discontinue use of the product if mitigations are unavailable. The KEV remediation deadline of October 11, 2026 has already passed.
- Upgrade Strapi to 4.8.0 or later, as published in the Strapi releases and the vendor's security disclosure of vulnerabilities. Versions from 3.2.1 up to 4.8.0 are affected, so a minor update inside the 4.5 line is not sufficient.
- Invalidate what the flaw exposes. Because password reset tokens and password hashes may already have been extracted, expire all outstanding password reset tokens, force a password reset for admin and API users, and invalidate existing sessions and API tokens after the upgrade — patching alone does not undo a prior disclosure.
- Reduce and review admin panel access. Exploitation requires an admin account, so remove accounts that no longer need the panel, separate editorial roles from administrative ones, enable multi-factor authentication where your deployment supports it, and restrict the admin panel to trusted networks or a VPN rather than publishing it alongside the public API.
- Look for the filtering pattern in logs and elsewhere in your stack. Review API logs for repeated queries filtering on user columns that no legitimate feature targets — the inference attack produces many near-identical requests — and, as the general lesson, keep secret-bearing fields out of any generic filtering, sorting or search interface, enforce field-level authorization server-side, and store password reset tokens hashed with a short expiry so that disclosure does not equal account takeover.
Technical Details
Strapi's content API accepts query filters that are applied to database columns, and the admin-facing user API did not exclude columns holding secret material from this mechanism. An attacker therefore issues filters such as a prefix or comparison condition against the password hash or reset token column and observes whether a record is returned, which reveals whether the guess matched; repeating that process recovers the value piece by piece from the response pattern alone, without the value ever being printed. This is why NVD maps the issue to CWE-312: the sensitive data is stored in a way that is readable from a control sphere — the filter API — where it should not be. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N describes a network-reachable, deterministic, high-privilege attack with pure confidentiality impact and an unchanged scope. The privilege boundary matters: a super admin reaches hashes and reset tokens for all users, whereas an admin limited to reading usernames and emails of lower-privileged API users reaches those users but not other admin accounts.
Frequently Asked Questions
Is CVE-2023-22894 being actively exploited?
Yes. CISA has added CVE-2023-22894 to the Known Exploited Vulnerabilities catalog, and the remediation deadline of October 11, 2026 has already passed. Public write-ups document the exploitation technique, and the EPSS score of 3.6% places the vulnerability in the 89th percentile for exploitation likelihood. Use in ransomware campaigns is not recorded in the KEV entry.
What products are affected by CVE-2023-22894?
CVE-2023-22894 affects the Strapi headless CMS through version 4.5.5, with the published version data covering releases from 3.2.1 up to 4.8.0. The flaw is in the query filter applied to user records through the admin panel and API. Strapi 4.8.0 and later contain the fix.
How do I fix CVE-2023-22894?
Upgrade Strapi to 4.8.0 or later. Because password hashes and password reset tokens may already have been extracted, also expire all outstanding reset tokens, force password changes for admin and API users, and invalidate existing sessions and API tokens. Reduce the number of admin panel accounts and restrict the panel to trusted networks, since exploitation requires admin access.
How severe is CVE-2023-22894?
CVE-2023-22894 is rated Medium with a CVSS 3.1 base score of 4.9, because exploitation requires an existing admin account and the impact is limited to disclosure. That rating understates the consequence: with super admin access the attacker obtains the password hash and password reset token of every user, which allows direct account takeover. Its EPSS score of 3.6% in the 89th percentile and the KEV listing make prompt patching mandatory.
Need Help With Vulnerability Management?
Our security experts can help you prioritize and remediate vulnerabilities effectively.