CVE-2023-34093
highpriority · track · 28EPSS 0.007 · 54 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.8–7.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-chmr-rg2f-9jmfMaking all attributes on a content-type public without noticing it2023-07-25ghsa · osvUS
### Summary Anyone (Strapi developers, users, plugins) can make every attribute of a Content-Type public without knowing it. ### Details When dealing with content-types inside a Strapi instance, we can extend those using the appropriate container: ```javascript strapi.container.get('content-types').extend(contentTypeUID, (contentType) => newContentType); ``` 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). ### PoC Extend any content type on runtime (like in the bootstrap functions) and do a copy of the content-type object. ```javascript strapi.container.get('content-types').extend(contentTypeUID, (contentType) => { const newCT = { ... contentType, attributes: { ...contentType.attributes, newAttr: {} } }; return newCT; }); ``` This will have as effect to remove the getter and as we rely on it in sanitization, every attributes will be considered as public. ### Impact Everyone 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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-34093/cnnvd
- https://github.com/strapi/strapi/commit/2fa8f30371bfd1db44c15e5747860ee5789096decnnvd
- https://github.com/strapi/strapi/releases/tag/v4.10.8cnnvd
- https://github.com/strapi/strapi/security/advisories/GHSA-chmr-rg2f-9jmfcnnvd
- https://github.com/strapi/strapi/commit/2fa8f30371bfd1db44c15e5747860ee5789096deenisa_euvd
- https://github.com/strapi/strapi/releases/tag/v4.10.8enisa_euvd
- https://github.com/strapi/strapi/security/advisories/GHSA-chmr-rg2f-9jmfenisa_euvd
- https://github.com/strapi/strapi/commit/2fa8f30371bfd1db44c15e5747860ee5789096dePatchnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan