XSS in Twigphp Twig

CVE-2026-47730

Twig is a template language for PHP. From 3.0.0 until 3.26.0, Twig\Profiler\Dumper\HtmlDumper writes Profile::getTemplate() and Profile::getName() into HTML output without escaping, allowing attacker-controlled template or profile names to…

Vulnerability class: XSS (Cross-Site Scripting)

Affected products

Weakness classification (CWE)

References