CVE-2021-40219
8.8high
Code Injection in Bolt CMS
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 3.43% (higher than 89% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-gprh-7767-cw39
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| bolt/core (Packagist) | up to 4.2 | GitHub Advisory Database |
| bolt bolt_cms | up to 4.2.0 | NVD |
All scores
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Bolt CMS versiones anteriores a 4.2 incluyéndola, es vulnerable a una ejecución de código remota. El renderizado no seguro del tema permite a un atacante autenticado editar el tema para inyectar la plantilla del lado del servidor que conlleva a una ejecución de código remota
References
| https://github.com/bolt/core | package, third-party-advisory | |
| 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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-40219 changed 2026-07-09 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gprh-7767-cw39 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-40219 changed 2026-07-09 | Public domain |