| Package | Affected versions | Patched versions |
|---|
| craftcms/cms Packagist | ≥ 4.0.0-RC1, < 4.17.8≥ 5.0.0-RC1, < 5.9.14
| 4.17.85.9.14
|
| craft cms | = 4.0.0= 5.0.0> 4.0.0, < 4.17.8> 5.0.0, < 5.9.14
| 4.17.85.9.14
|
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() accepts assetId from the request body.
- The asset is loaded, and the focal-point data is read.
- Response returns
html and focalPoint.
- 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.
NVD description
Craft CMS is a content management system (CMS). From version 4.0.0-RC1 to before version 4.17.8 and from version 5.0.0-RC1 to before version 5.9.14, 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. This issue has been patched in versions 4.17.8 and 5.9.14.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free