Improper Neutralization of Special Elements Used in a Template Engine Affecting bolt/core package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-BOLTCORE-19428477
  • published29 Aug 2026
  • disclosed5 Aug 2026
  • creditUnknown

Introduced: 5 Aug 2026

CVE-2026-71291  (opens in a new tab)
CWE-1336  (opens in a new tab)

How to fix?

There is no fixed version for bolt/core.

Overview

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements Used in a Template Engine in the getTwigValue process. An attacker can execute arbitrary code by injecting malicious Twig templates into content fields that are rendered without sandboxing. This is only exploitable if the allow_twig flag is enabled on a content field and the attacker has edit access to that content type.

References

CVSS Base Scores

version 4.0
version 3.1