GitHub Advisoryadvisory · Packagist

GHSA-vgjg-248p-rfm2 Craft CMS' anonymous "assets/image-editor" calls return private asset editor metadata to unauthorized users

LOW Published 2026-03-24 Modified 2026-03-25 Official page ↗
Aliases
CVE-2026-33161
Ecosystem
Packagist
Packages
craftcms/cms
Severity
Low
CVSS vector
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
Weaknesses
CWE-200, CWE-862
Reviewed
2026-03-24

Affected packages

• Packagist craftcms/cms: >= 5.0.0-RC1, < 5.9.14 → fixed in 5.9.14 • Packagist craftcms/cms: >= 4.0.0-RC1, < 4.17.8 → fixed in 4.17.8

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: 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.

Related

Alias · CVE (1)

  • CVE-2026-33161 Craft CMS is a content management system (CMS). vulnerability

Weakness · CWE (2)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
  • CWE-862 Missing Authorization weakness

References