{"id":"GHSA-gprh-7767-cw39","summary":"Code Injection in Bolt CMS","details":"Bolt CMS \u003c= 4.2 is vulnerable to Remote Code Execution. Unsafe theme rendering allows an authenticated attacker to edit theme to inject server-side template injection that leads to remote code execution.","aliases":["CVE-2021-40219"],"modified":"2023-11-08T04:06:46.785466Z","published":"2022-04-12T00:00:34Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-04-22T20:18:24Z","nvd_published_at":"2022-04-11T17:15:00Z","cwe_ids":["CWE-94"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40219"},{"type":"PACKAGE","url":"https://github.com/bolt/core"},{"type":"WEB","url":"https://github.com/bolt/core/blob/3b21a73ebf519b76756d3ad2841312d10ef11461/src/Controller/Frontend/TemplateController.php"},{"type":"WEB","url":"https://github.com/iiSiLvEr/CVEs/tree/main/CVE-2021-40219"},{"type":"WEB","url":"http://boltcms.com"}],"affected":[{"package":{"name":"bolt/core","ecosystem":"Packagist","purl":"pkg:composer/bolt/core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.2"}]}],"versions":["1.0.0-alpha1","4.0.0","4.0.0-alpha3","4.0.0-beta.1","4.0.0-beta.1.1","4.0.0-beta.1.2","4.0.0-beta.1.3","4.0.0-beta.1.4","4.0.0-beta.1.5","4.0.0-beta.1.6","4.0.0-beta.1.7","4.0.0-beta.1.8","4.0.0-beta.2","4.0.0-beta.2.1","4.0.0-beta.2.10","4.0.0-beta.2.2","4.0.0-beta.2.3","4.0.0-beta.2.4","4.0.0-beta.2.5","4.0.0-beta.2.6","4.0.0-beta.2.7","4.0.0-beta.2.8","4.0.0-beta.2.9","4.0.0-beta.3","4.0.0-beta.3.1","4.0.0-beta.3.2","4.0.0-beta.3.3","4.0.0-beta.3.4","4.0.0-beta.3.5","4.0.0-beta.3.6","4.0.0-beta.3.7","4.0.0-beta.3.8","4.0.0-beta.4","4.0.0-beta.4.1","4.0.0-beta.4.2","4.0.0-beta.4.3","4.0.0-beta.4.4","4.0.0-beta.4.5","4.0.0-beta.4.6","4.0.0-beta.5","4.0.0-beta.5.1","4.0.0-beta.5.2","4.0.0-beta.5.3","4.0.0-beta.5.4","4.0.0-beta.5.5","4.0.0-beta.5.6","4.0.0-beta.5.7","4.0.0-beta.5.8","4.0.0-beta.5.9","4.0.0-rc.1","4.0.0-rc.10","4.0.0-rc.11","4.0.0-rc.12","4.0.0-rc.13","4.0.0-rc.14","4.0.0-rc.15","4.0.0-rc.16","4.0.0-rc.17","4.0.0-rc.18","4.0.0-rc.19","4.0.0-rc.2","4.0.0-rc.20","4.0.0-rc.21","4.0.0-rc.22","4.0.0-rc.23","4.0.0-rc.24","4.0.0-rc.25","4.0.0-rc.26","4.0.0-rc.27","4.0.0-rc.28","4.0.0-rc.29","4.0.0-rc.3","4.0.0-rc.31","4.0.0-rc.32","4.0.0-rc.33","4.0.0-rc.34","4.0.0-rc.35","4.0.0-rc.37","4.0.0-rc.39","4.0.0-rc.4","4.0.0-rc.40","4.0.0-rc.41","4.0.0-rc.42","4.0.0-rc.43","4.0.0-rc.44","4.0.0-rc.5","4.0.0-rc.6","4.0.0-rc.7","4.0.0-rc.8","4.0.0-rc.9","4.0.1","4.1.0","4.1.10","4.1.11","4.1.12","4.1.13","4.1.14","4.1.15","4.1.16","4.1.17","4.1.18","4.1.19","4.1.2","4.1.20","4.1.21","4.1.21.1","4.1.22","4.1.23","4.1.3","4.1.4","4.1.5","4.1.6","4.1.7","4.1.7.1","4.1.8","4.1.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-gprh-7767-cw39/GHSA-gprh-7767-cw39.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}