Ubuntu CVE Tracker
UBUNTU-CVE-2026-47730
Details
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 dump. This issue is fixed in version 3.26.0.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:20.04:LTS | php-twig | All versions, no fix listed |
| Ubuntu:Pro:22.04:LTS | php-twig | All versions, no fix listed |
| Ubuntu:Pro:24.04:LTS | php-twig | All versions, no fix listed |
| Ubuntu:25.10 | php-twig | All versions, no fix listed |
| Ubuntu:26.10 | php-twig | All versions, no fix listed |
| Ubuntu:Pro:26.04:LTS | php-twig | All versions, no fix listed |