CVE-2023-34235Strapi
High 7.5 No auth needed
Follow: this CVE · Strapi · Strapi We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 62
- Auth required
- No
- Published
- Jul 25, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-200
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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
- Apply the vendor's security update for Strapi.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @strapi/database |
< 4.10.8 |
4.10.8 |
npm install @strapi/database@4.10.8 |
| npm | @strapi/utils |
< 4.10.8 |
4.10.8 |
npm install @strapi/utils@4.10.8 |
Per OSV / GitHub Advisories (GHSA-9xg4-3qfm-9w8f). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| strapi | strapi | < 4.10.8 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes
- github.com Exploit Vendor Advisory