MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-47730GHSA-2g2g-8p8h-fgwm

Twig: XSS in profiler HtmlDumper via unescaped template and profile names

Not on CISA KEVCVSS 5.1 (v4.0)
  • Overview

Summary

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 inject arbitrary HTML when a browser renders the profiler

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)