CVEvulnerability
CVE-2026-71291
8.8 HIGH
Official page ↗
- Status
- Deferred
- Published
- 2026-08-05
- Last modified
- 2026-10-23
- Assigner
- 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
- CVSS 3.1 (309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c)
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-1336
Description
Bolt CMS renders content field values through Twig's full application-level Environment with no SandboxExtension registered anywhere in the codebase. In src/Entity/Field.php, getTwigValue calls shouldBeRenderedAsTwig, which gates rendering only on the field definition's allow_twig flag and a regex checking for , , or ; when true, the raw field value is compiled and rendered via with no sandboxing.
Related
Weakness · CWE (1)
- CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine weakness
References
- https://github.com/bolt/core github.com
- https://github.com/bolt/core/blob/6.1/src/Entity/Field.php github.com