craftcms/cms · Security
Craft CMS' anonymous "assets/image-editor" calls return private asset editor metadata to unauthorized users
- GHSA ID
- GHSA-vgjg-248p-rfm2
- CVE ID
- CVE-2026-33161
- Severity
- low
- Published
- Updated
- CVSS v4
- 1.3 · CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
Description
Summary
A low-privileged authenticated user can call assets/image-editor with the ID of a private asset they cannot view and still receive editor response data, including focalPoint.
The endpoint returns private editing metadata without per-asset authorization validation.
Root-cause analysis:
actionImageEditor()acceptsassetIdfrom the request body.- The asset is loaded, and the focal-point data is read.
- Response returns
htmlandfocalPoint. - No explicit authorization check is applied before the response.
Impact
Affected deployments:
- Craft sites where asset edit metadata should remain restricted to authorized users.
Security consequence:
- Unauthorized users can extract private editor metadata and related editor context for inaccessible assets.
CWEs
- CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
- CWE-862 · Missing Authorization
References
- https://github.com/craftcms/cms/security/advisories/GHSA-vgjg-248p-rfm2 ↗
- https://github.com/craftcms/cms/commit/d30df3112220db1ffd6726a3ed11857014c7fb27 ↗
- https://github.com/craftcms/cms/releases/tag/4.17.8 ↗
- https://github.com/craftcms/cms/releases/tag/5.9.14 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2026-33161 ↗
- https://github.com/advisories/GHSA-vgjg-248p-rfm2 ↗