Advisory

GHSA-vgjg-248p-rfm2

Also known as: CVE-2026-33161

Summary

Craft CMS' anonymous "assets/image-editor" calls return private asset editor metadata to unauthorized users

Details

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:

  1. actionImageEditor() accepts assetId from the request body.
  2. The asset is loaded, and the focal-point data is read.
  3. Response returns html and focalPoint.
  4. 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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-03-24 17:27 UTC
Modified
2026-03-25 21:18 UTC

Affected packages and fixes

craftcms/cms

Packagist · All systems

Affected

  • introduced 5.0.0-RC1, fixed 5.9.14 (ecosystem)

Fixed versions

5.9.14

Fix

The export has no generic command for this ecosystem.

craftcms/cms

Packagist · All systems

Affected

  • introduced 4.0.0-RC1, fixed 4.17.8 (ecosystem)

Fixed versions

4.17.8

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences