8.2high
Strapi Allows Unauthorized Access to Private Fields via parms.lookup
- Severity
- 8.2high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.42% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-495j-h493-42q2
Description
Strapi is an open-source headless content management system. In versions from 5.0.0 to before 5.5.2, the lookup operator provided by the document service does not properly sanitize query parameters for private fields. An attacker can access private fields, including admin passwords and reset tokens, by crafting queries with the lookup parameter. This vulnerability is fixed in 5.5.2.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| strapi strapi | >= 5.0.0, < 5.5.2, from 5.0.0 before 5.5.2 | CVE List, NVD |
| @strapi/core (npm) | from 5.0.0 before 5.5.2 | GitHub Advisory Database |
All scores
| GitHub_M | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| GitHub | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
Strapi is an open-source headless content management system. In versions from 5.0.0 to before 5.5.2, the lookup operator provided by the document service does not properly sanitize query parameters for private fields. An attacker can access private fields, including admin passwords and reset tokens, by crafting queries with the lookup parameter. This vulnerability is fixed in 5.5.2.
GitHub Advisory Database
Summary
It's possible to access any private fields by filtering through the lookup parameters
Details
Using the new lookup operator provided by the document service in Strapi 5, it is not properly sanitizing this query operator for private fields.
PoC
- Create a strapi app.
- Create a content-type
- In the content-type you make a new entry
- Go back to the list view
- Add
&lookup[updatedBy][password][$startsWith]=$2to the end of your url (All passwords start with $2) see that all entries are still there - Add
&lookup[updatedBy][password][$startsWith]=$3see the entry disappear proving that the search above works
Impact
An attacker can perform filtering attacks on everything related to the object, including admin passwords and reset-tokens. This means that they can gain full access to the strapi instance.
NVD (es)
Strapi es un sistema de gestión de contenido sin cabeza de código abierto. En versiones desde la 5.0.0 hasta antes de la 5.5.2, el operador ’lookup’ proporcionado por el servicio de documentos no sanitiza correctamente los parámetros de consulta para campos privados. Un atacante puede acceder a campos privados, incluyendo contraseñas de administrador y tokens de restablecimiento, al elaborar consultas con el parámetro ’lookup’. Esta vulnerabilidad se corrige en la 5.5.2.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-56143 changed 2025-10-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-495j-h493-42q2 changed 2025-10-16 | CC-BY-4.0 |
| NVD | CVE-2024-56143 changed 2026-11-09 | Public domain |