CVE Catalog

CVE-2026-112773

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Summary

Craft CMS from 5.0.0 before 5.11.0 contains a remote code execution vulnerability. An authenticated Control Panel user can escape the Twig sandbox by passing uncleansed criteria to getNext, getPrev, or getOwners and injecting Yii 'as' or 'on' config keys.

Risk Assessment

Malicious event handlers can execute when the element query runs, achieving code execution as the web user. The risk applies to any authenticated Control Panel user.

Recommendation

Update Craft CMS to version 5.11.0 or later. Review Control Panel user permissions and restrict access to trusted users.

Other vulnerabilities in Craft CMS

See all
Original NVD description (English source)

Craft CMS from 5.0.0 before 5.11.0 contains a remote code execution vulnerability that allows authenticated Control Panel users to escape the Twig sandbox by passing uncleansed criteria to getNext, getPrev, or getOwners. Attackers can inject Yii "as" or "on" config keys to attach malicious event handlers that execute when the element query runs, achieving code execution as the web user.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS