一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年9月4日

CVE-2026-71291 [HIGH] – Bolt CMS renders content field values through Twig’s full application-level Environment wi

未分类
📑 文章目录

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.