VDB
Sign up
MEDIUM5.3

GHSA-w8cj-mvf9-mpc9

OS Command injection in Bolt

Quick fix

GHSA-w8cj-mvf9-mpc9 — bolt/bolt: upgrade to the fixed version with the command below.

composer require bolt/bolt:^3.7.2

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/bolt/bolt
Introduced in: 0Fixed in: 3.7.2
Fixcomposer require bolt/bolt:^3.7.2

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/bolt/bolt"]}'