Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted signed redirect to payments/pay
-
DeliveryTemplate renders customer.photo.getUrl with malicious transform
-
ExploitBypass class guard via class:null and __class
-
ExecutionInstantiate yii\rbac\PhpManager class
-
ImpactExecute arbitrary PHP on server
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Incorrect comparison
|
| Exploitation Conditions | Practical exploitation requires: the Craft Commerce plugin installed and its payments/pay redirect flow in use (the signed redirect is rendered as a sandboxed Order template); a reachable front-end user with a profile photo so customer.photo.getUrl() can be invoked within the sandbox; and an attacker-crafted transform array using 'class' => null with '__class' => a target class (e.g. yii\rbac\PhpManager) plus attacker-controlled properties. CVSS PR:N indicates no authentication is required to reach the vector, but these plugin/feature prerequisites and the 'right circumstances' caveat in the vendor advisory materially limit real-world exposure. The only complete fix stated by the vendor is updating to Craft CMS 5.11.4. |
| Impact | Signals point to a genuine high priority but with important real-world caveats. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H, score 9.3) describes a network-reachable, unauthenticated path to full confidentiality, integrity and availability loss via PHP code execution, and the vuln.today Decision label is act_now. However, the vendor's own GHSA advisory qualifies impact as RCE 'in the right circumstances,' and the only demonstrated reachable path requires the Craft Commerce plugin plus a front-end user with a profile photo - a meaningful deployment constraint the base vector does not capture. No CISA KEV listing is present in the input, so there is no confirmation of active exploitation, and no EPSS score was provided, so exploitation probability cannot be quantified here. The GHSA advisory lays out the full bypass mechanism (isset()-based class guard defeated by class:null + __class spread, with Yii giving __class precedence), which is exploit-grade detail, but the input does not mark it as confirmed working exploit code. Net: treat as a priority to patch promptly given unauthenticated-network reachability, confirmed vendor fix, and act_now labeling, while recognizing that practical exposure is gated by whether Craft Commerce and front-end profile photos are in use. |
| Exploit ScenarioDerived | An attacker submits a crafted, signed redirect value to Craft Commerce's payments/pay flow, which renders it as a sandboxed Order template; using sandbox-allowed accessors the template calls customer.photo.getUrl() with a malicious image transform array ('class' => null, '__class' => 'yii\rbac\PhpManager', plus attacker-controlled properties). The isset()-based guard in ImageTransforms::normalizeTransform() is bypassed and Yii instantiates the attacker-named class, executing PHP. The vendor GHSA advisory documents this chain in detail; it is a public PoC reference, not verified as a packaged working exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Remote code execution in Craft CMS 5.0.0 before 5.11.4 stems from a class-instantiation bypass in ImageTransforms::normalizeTransform(); an unauthenticated attacker can supply a transform array with class set to null and __class set to an autoloadable class such as yii\\rbac\\PhpManager. The assessed vector is CVSS 3.1 AV:N/AC:H/PR:N/UI:N with high confidentiality, integrity, and availability impact, because practical exploitation requires Craft Commerce's payments/pay redirect template, a reachable front-end user with a profile photo, and the ability to invoke customer.photo.getUrl() in the sandbox. A public advisory describes the payload structure, but no verified working exploit code was identified at time of analysis, and the vendor's only complete fix is updating to 5.11.4.
RemediationAI
Vendor-released patch: update Craft CMS to 5.11.4, the fixed version listed in the package range and vendor advisory (https://github.com/craftcms/cms/security/advisories/GHSA-hq78-cm2m-h24h); the vendor states updating is the only complete fix. No vendor-stated workaround is provided. The available evidence ties practical exploitation to deployments where Craft Commerce's payments/pay redirect template and customer.photo.getUrl() are reachable, but that is a scoping observation, not a vendor-endorsed mitigation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-697 (Incorrect Comparison) is the root-cause class here: craft\\helpers\\ImageTransforms::normalizeTransform() intends to stop an attacker-controlled image transform array from selecting the instantiated PHP class, but its guard uses isset() while the array spread permits attacker input to overwrite the fixed class entry. Supplying 'class' => null makes isset(class) false, and Craft's later Craft::createObject() dual-class conflict check is bypassed in the same way; Yii gives '__class' precedence, so a value such as 'yii\\rbac\\PhpManager' is instantiated with attacker-controlled properties. The affected Composer package is composer/craftcms/cms >=5.0.0 <5.11.4, matching CPE cpe:2.3:a:craftcms:cms. The reachable path described is Craft Commerce's signed redirect rendered in payments/pay as a sandboxed Order template, calling customer.photo.getUrl() with a crafted transform; exploitability outside that plugin and configuration is not established by the available sources.
Know when Cms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Unauthenticated network reach gives AV:N/PR:N, but dependence on Craft Commerce and a user profile photo raises AC:H; successful instantiation yields full PHP execution so C/I/A High.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Craft CMS from 5.0.0 before 5.11.4 contains a remote code execution vulnerability in ImageTransforms::normalizeTransform() that allows attackers to instantiate arbitrary classes by supplying class:null with a __class key. Attackers can reach the method through Craft Commerce's payments/pay redirect template calling customer.photo.getUrl() with a crafted transform to instantiate classes like yii\rbac\PhpManager and execute PHP.
Technical POC Analysis
Bug class: CWE-697 Incorrect Comparison.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A critical vulnerability in Craft CMS 5.0.0 through 5.11.3 could allow an unauthenticated remote attacker to execute code on your web servers, but only under specific conditions (Craft Commerce with certain payment templates enabled and a reachable user profile photo feature). Because the affected systems host customer-facing payment flows, a successful compromise could expose customer data, enable payment-redirect tampering, and take portions of the site offline. Leadership should prioritize this for the e-commerce teams running Craft CMS today, as it affects both data confidentiality and the integrity of customer transactions.
No vendor-released patch identified at time of analysis; the vendor's only complete remediation is upgrading to Craft CMS 5.11.4. Interim mitigations: block or restrict the ImageTransforms normalizeTransform input so class can never be supplied as null with __class set, disable the Craft Commerce pay-redirect template and the customer photo getUrl() feature on internet-facing sites, deploy WAF rules targeting the described payload structure, and limit exposure of authenticated customer profiles until upgraded.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Cayin CMS suffers from an authenticated OS semi-blind command injection vulnerability using default credentials. Rated c
Multiple integer underflows in the icmLut_allocate function in International Color Consortium (ICC) Format library (iccl
phpKF CMS 3.00 Beta allows unauthenticated PHP file upload by disguising it as a PNG, then renaming it for execution. Po
Deserialization of Untrusted Data in the Sitecore.Security.AntiCSRF (aka anti CSRF) module in Sitecore CMS 7.0 to 7.2 an
Unauthenticated SQL injection in Craft CMS 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2 allows remote attackers to read a
Deserialization of Untrusted Data in the anti CSRF module in Sitecore through 9.1 allows an authenticated attacker to ex
Unauthenticated file disclosure in LavaLite CMS through 10.1.2 allows remote attackers to download private stored files
Authenticated remote code execution in Craft CMS versions 5.5.0 through 5.9.13 allows admin users to execute arbitrary P
SQL injection vulnerability in hava_post.php in Havalite CMS 1.1.0 and earlier allows remote attackers to execute arbitr
Unrestricted file upload vulnerability in hava_upload.php in Havalite CMS 1.1.0 and earlier allows remote attackers to e
Cross-site request forgery (CSRF) vulnerability in Ilch CMS allows remote attackers to hijack the authentication of admi
Multiple cross-site scripting (XSS) vulnerabilities in Havalite 1.0.4 and earlier allow remote attackers to inject arbit
EUVD-2026-128749
GHSA-38f7-cj22-qv2v
NVD
CVE.org
EPSS
VulDB
Exploit-DB