Skip to content
porro

Advisories  /  composer  /  symfony/symfony  /  CVE-2023-46734

MODERATE6.1 Composer

Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters (CVE-2023-46734)

CVE-2023-46734 GHSA-q847-2q57-wmr3 Published 12 Nov 2023

Affects 2 packages. Each has a fixed release.

$ composer require symfony/symfony:^4.4.51
$ composer require symfony/symfony:^5.4.31
$ composer require symfony/symfony:^6.3.8
$ composer require symfony/twig-bridge:^4.4.51
$ composer require symfony/twig-bridge:^5.4.31
$ composer require symfony/twig-bridge:^6.3.8

Which versions are affected

Package Affected Fixed in
symfony/symfony ≥ 2.0.0, < 4.4.51≥ 5.0.0, < 5.4.31≥ 6.0.0, < 6.3.8 4.4.515.4.316.3.8
symfony/twig-bridge ≥ 2.0.0, < 4.4.51≥ 5.0.0, < 5.4.31≥ 6.0.0, < 6.3.8 4.4.515.4.316.3.8

Check a site from its project folder: composer show symfony/symfony shows the installed version. Or paste the lock file into the lock file checker to check every package at once.

Timeline

  1. Advisory published, with a fix

Questions

Which version of symfony/symfony is safe from CVE-2023-46734?

6.3.8 and later. Versions affected: ≥ 2.0.0, < 4.4.51, ≥ 5.0.0, < 5.4.31, ≥ 6.0.0, < 6.3.8.

Which version of symfony/twig-bridge is safe from CVE-2023-46734?

6.3.8 and later. Versions affected: ≥ 2.0.0, < 4.4.51, ≥ 5.0.0, < 5.4.31, ≥ 6.0.0, < 6.3.8.