CVE-2021-40219
HIGH 8.8CVSS 3.1Code Injection in Bolt CMS
Bolt CMS <= 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.
- Published
- 11 Apr 2022
- Last modified
- 9 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-gprh-7767-cw39
- Sources
- NVDJSONOSV GHSA-gprh-7767-cw39JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | bolt | bolt_cmscpe:2.3:a:bolt:bolt_cms:*:*:*:*:*:*:*:* |
<= 4.2.0 | |
| OSV | Packagist | bolt/core | <= 4.2 |
References
- https://github.com/bolt/core · Third Party Advisory, PACKAGE
- https://github.com/bolt/core/blob/3b21a73ebf519b76756d3ad2841312d10ef11461/src/Controller/Frontend/TemplateController.php · Exploit, Third Party Advisory, WEB
- https://github.com/iiSiLvEr/CVEs/tree/main/CVE-2021-40219 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-40219 · ADVISORY
- http://boltcms.com · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 11 Apr 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 12 Apr 2022)