
Find real vulnerabilities before they ship
Craft CMS is a content management system (CMS). From 4.0.0 to before 4.17.12 and 5.9.18, Craft CMS which contains an input-handling flaw in a Yii object creation path that let any authenticated user inject malicious configuration and execute arbitrary commands on the server. The request-controlled condition field layouts data is converted into a live FieldLayout object without a Component::cleanseConfig() boundary. Because Craft configures models before parent::__construct(), attacker-controlled special config keys can take effect during object creation, and FieldLayout initialization then triggers a same-request event. This vulnerability is fixed in 4.17.12 and 5.9.18.
Base Score
8.6| Package (Ecosystem) | Introduced | Fixed | Limit |
|---|---|---|---|
| craftcms/cms(Packagist) | 4.0.0 | 4.17.12 | N/A |
| craftcms/cms(Packagist) | 5.0.0 | 5.9.18 | N/A |
| Base Score | 8.6 |
|---|---|
| Vector String | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| Base Severity | High |
| Version | 4.0 |
| Attack Vector (AV) | NETWORK |