kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-133770 Sandboxed templates can rewrite application-owned `Markup` objects through their constructor

설명

The sandbox allows every method of Twig\Markup objects, including their public constructor. A sandboxed template can therefore call __construct() on any Markup object that it reaches, and replace its content: {% do banner.__construct('<script>alert(1)</script>', 'UTF-8') %} A template gains nothing by rewriting its own output. The impact is on the Markup objects that come from the application and are also rendered elsewhere, like a global in a long-running worker. Their new content then ends up in trusted pages that aren't sandboxed. The sandbox no longer allows calling the constructor of Markup objects.

영향 받는 제품 제품 1개

  • Twig

    twig/twig

    해결 버전 있음

    영향 받는 버전

    • 3.31.1 미만

    해결 버전

    • 3.31.1 이상

참고 자료 3건

‹ 목록

점검 지원 범위 문의

도입 문의