symfony/twig-bridge vulnerabilities

Provides integration for Twig with various Symfony components

Registry
Composer
Latest
8.1.7
License
MIT

2 known advisories

The latest version, 8.1.7, is not affected by any of them. Projects on older versions may be.

Update to the latest version:composer require symfony/twig-bridge:^8.1.7

Security advisories for symfony/twig-bridge

  • LowGHSA-hmr5-2xcr-v8pp27 May 2026

    Symfony Vulnerable to stored XSS in WebProfiler CodeExtension::fileExcerpt() — Unescaped Non-PHP File Rendering

    Affected
    >=6.4.24 <6.4.40
    Fixed in
    6.4.40
  • MediumGHSA-q847-2q57-wmr312 Nov 2023

    Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters

    Affected
    >=2.0.0 <4.4.51 · >=5.0.0 <5.4.31 · >=6.0.0 <6.3.8
    Fixed in
    4.4.51, 5.4.31, 6.3.8

Which of your client projects still run an old symfony/twig-bridge?

NPMscan reads the composer.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Composer packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Composer registry.