CVE-2021-40219
Code 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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
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.
- Record
CVE-2021-40219- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.5 Medium
AV:N/AC:L/Au:S/C:P/I:P/A:P - Weakness
- CWE-94
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-40219- Updated
- 2026-11-02
EUVDEUVD-2022-1744 No score
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.
- Record
EUVD-2022-1744- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-gprh-7767-cw39
8.8
Code 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.
- Record
GHSA-gprh-7767-cw39- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-94
- Updated
- 2026-11-02
OSV
8.8
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.
- Record
CVE-2021-40219- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-gprh-7767-cw39
8.8
Code 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.
- Record
GHSA-gprh-7767-cw39- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-94
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
bolt/corePackagist |
through 4.2 | None known |
bolt/corePackagist |
through 4.2, plus listed versions 1.0.0-alpha14.0.04.0.0-alpha34.0.0-beta.14.0.0-beta.1.1 Show 45 moreShow less4.0.0-beta.1.24.0.0-beta.1.34.0.0-beta.1.44.0.0-beta.1.54.0.0-beta.1.64.0.0-beta.1.74.0.0-beta.1.84.0.0-beta.24.0.0-beta.2.14.0.0-beta.2.104.0.0-beta.2.24.0.0-beta.2.34.0.0-beta.2.44.0.0-beta.2.54.0.0-beta.2.64.0.0-beta.2.74.0.0-beta.2.84.0.0-beta.2.94.0.0-beta.34.0.0-beta.3.14.0.0-beta.3.24.0.0-beta.3.34.0.0-beta.3.44.0.0-beta.3.54.0.0-beta.3.64.0.0-beta.3.74.0.0-beta.3.84.0.0-beta.44.0.0-beta.4.14.0.0-beta.4.24.0.0-beta.4.34.0.0-beta.4.44.0.0-beta.4.54.0.0-beta.4.64.0.0-beta.54.0.0-beta.5.14.0.0-beta.5.24.0.0-beta.5.34.0.0-beta.5.44.0.0-beta.5.54.0.0-beta.5.64.0.0-beta.5.74.0.0-beta.5.84.0.0-beta.5.94.0.0-rc.1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-40219 is a high vulnerability (CVSS 8.8) in Bolt Cms, published April 11, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.43%, the 89th percentile. No source names a fixed version.
References
Left out here: 66 versions. The JSON record has them.