Description
Craft is a content management system (CMS). Prior to 4.12.2 and 5.4.3, Craft is missing normalizePath in the function FileHelper::absolutePath could lead to Remote Code Execution on the server via twig SSTI. This is a sequel to CVE-2023-40035. This vulnerability is fixed in 4.12.2 and 5.4.3.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| craftcms | cms | >= 4.0.0-RC1, < 4.12.2, >= 5.0.0-RC1, < 5.4.3 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | craftcms/cms | >= 4.0.0-RC1, < 4.12.2 | 4.12.2 | GHSA-f3cw-hg6r-chfv |
| Packagist | craftcms/cms | >= 5.0.0-RC1, < 5.4.3 | 5.4.3 | GHSA-f3cw-hg6r-chfv |