ADVISORIES

Vulnerability

CVE-2026-46637

Twig is a template language for PHP. Prior to 3.26.0, several filters in twig/markdown-extra and twig/cssinliner-extra are registered with is_safe => [all], causing Twig to treat plain text or HTML output as safe in HTML, JavaScript, CSS, URL, and other contexts where the output is not properly escaped. This issue is fixed in version 3.26.0.

5 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 3Packagist 1Ubuntu 1

Advisories

  • DEBIAN-CVE-2026-46637

    Twig is a template language for PHP. Prior to 3.26.0, several filters in twig/markdown-extra and twig/cssinliner-extra are registered with is_safe => [all], causing Twig to treat plain text or HTML output as safe in…

    CVE-2026-46637 Debian Updated 1 October 2026
  • DSA-6311-1

    php-twig - security update

    CVE-2026-24425CVE-2026-46627CVE-2026-46628CVE-2026-46629 Debian Updated 20 November 2026
  • DSA-6320-1

    php-twig - security update

    CVE-2024-51754CVE-2026-46628CVE-2026-46629CVE-2026-46633 Debian Updated 20 November 2026
  • GHSA-jv8m-2544-3pg3

    Twig: HTML-output filters in twig/* extras incorrectly declared `is_safe => ['all']`

    Low CVE-2026-46637 Packagist Updated 10 September 2026
  • UBUNTU-CVE-2026-46637

    Twig is a template language for PHP. Prior to 3.26.0, several filters in twig/markdown-extra and twig/cssinliner-extra are registered with is_safe => [all], causing Twig to treat plain text or HTML output as safe in…

    CVE-2026-46637 Ubuntu Updated 17 October 2026

References