PT-2026-117623 · Craft Cms · Craft Cms
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Craft CMS versions 5.0.0 through 5.10.x
Description
Authenticated Control Panel users can achieve remote code execution by escaping the Twig sandbox through
Asset::getMimeType transforms. This occurs because the as or on keys are passed unfiltered to the createObject() function, allowing attackers to attach malicious behaviors or event handlers that execute code with the privileges of the web user.Recommendations
Update Craft CMS to version 5.11.0 or later.
Exploit
Fix
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Craft Cms