Medium severity6.1NVD Advisory· Published Nov 10, 2023· Updated Jul 29, 2026
CVE-2023-46734
CVE-2023-46734
Description
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Starting in versions 2.0.0, 5.0.0, and 6.0.0 and prior to versions 4.4.51, 5.4.31, and 6.3.8, some Twig filters in CodeExtension use is_safe=html but don't actually ensure their input is safe. As of versions 4.4.51, 5.4.31, and 6.3.8, Symfony now escapes the output of the affected filters.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
symfony/twig-bridgePackagist | >= 2.0.0, < 4.4.51 | 4.4.51 |
symfony/twig-bridgePackagist | >= 5.0.0, < 5.4.31 | 5.4.31 |
symfony/twig-bridgePackagist | >= 6.0.0, < 6.3.8 | 6.3.8 |
symfony/symfonyPackagist | >= 2.0.0, < 4.4.51 | 4.4.51 |
symfony/symfonyPackagist | >= 5.0.0, < 5.4.31 | 5.4.31 |
symfony/symfonyPackagist | >= 6.0.0, < 6.3.8 | 6.3.8 |
Affected products
7cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*range: >=2.0.0,<4.4.51
- (no CPE)range: >= 2.0.0, < 4.4.51
- osv-coords3 versions
>= 2.0.0, < 4.4.51+ 2 more
- (no CPE)range: >= 2.0.0, < 4.4.51
- (no CPE)range: >= 2.0.0, < 4.4.51
- (no CPE)range: >= 2.0.0, < 4.4.51
Patches
Vulnerability mechanics
References
8- github.com/symfony/symfony/commit/5d095d5feb1322b16450284a04d6bb48d1198f54nvdPatchWEB
- github.com/symfony/symfony/commit/9da9a145ce57e4585031ad4bee37c497353eec7cnvdPatchWEB
- github.com/advisories/GHSA-q847-2q57-wmr3ghsaADVISORY
- github.com/symfony/symfony/security/advisories/GHSA-q847-2q57-wmr3nvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2023-46734ghsaADVISORY
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2023-46734.yamlghsaWEB
- lists.debian.org/debian-lts-announce/2023/11/msg00019.htmlnvdMailing ListWEB
- symfony.com/cve-2023-46734ghsaWEB
News mentions
0No linked articles in our index yet.