CVE-2020-28925 OS Command injection in Bolt
Bolt CMS allows code execution via unrestricted Twig filter options in requests, requiring an upgrade to secure the application.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-28925?
CVE-2020-28925 is a medium-severity code injection vulnerability in n/a, published on 30 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Bolt before 3.7.2 does not restrict filter options in a Request in the Twig context, and is therefore inconsistent with the "How to Harden Your PHP for Better Security" guidance.
Which versions are affected by CVE-2020-28925?
2 open source packages ship an affected version, including bolt/bolt. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
bolt/bolt Packagist | All versions | 3.7.2 |
bolt/bolt Packagist | All versions | 3.7.2 |
Products include Boltcms Bolt.
How do I fix CVE-2020-28925?
Upgrade bolt/bolt to 3.7.2 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2020-28925 being exploited?
There is no known exploitation of CVE-2020-28925 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2022-31321 Path traversal in n/a
- CVE-2019-10874 Bolt Cross Site Request Forgery (CSRF)
- CVE-2019-9185 Bolt Unrestricted Upload of File with Dangerous Type
- CVE-2020-4040 CSRF issue on preview pages in Bolt CMS
- CVE-2025-34086 Bolt CMS Authenticated Remote Code Execution via Profile Injection and File Rename
Sources
Also known as GHSA-w8cj-mvf9-mpc9.