GHSA-q847-2q57-wmr3MediumCVSS 6.1

Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters

Published
November 12, 2023
Last Modified
December 3, 2023

🔗 CVE IDs covered (1)

📋 Description

Description

Some Twig filters in CodeExtension use "is_safe=html" but don't actually ensure their input is safe.

Resolution

Symfony now escapes the output of the affected filters.

The patch for this issue is available here for branch 4.4.

Credits

We would like to thank Pierre Rudloff for reporting the issue and to Nicolas Grekas for providing the fix.

🎯 Affected products6

  • composer/symfony/twig-bridge:>= 2.0.0, < 4.4.51
  • composer/symfony/twig-bridge:>= 5.0.0, < 5.4.31
  • composer/symfony/twig-bridge:>= 6.0.0, < 6.3.8
  • composer/symfony/symfony:>= 2.0.0, < 4.4.51
  • composer/symfony/symfony:>= 5.0.0, < 5.4.31
  • composer/symfony/symfony:>= 6.0.0, < 6.3.8

🔗 References (8)