CVE-2023-46734
MEDIUM 6.1CVSS 3.1Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters
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.
- Published
- 10 Nov 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- BIT-symfony-2023-46734GHSA-q847-2q57-wmr3
- Sources
- NVDJSONOSV GHSA-q847-2q57-wmr3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 2.0.0, < 4.4.51 | 4.4.51 |
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.4.31 | 5.4.31 |
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 6.0.0, < 6.3.8 | 6.3.8 |
| NVD | symfony | twig-bridgecpe:2.3:a:symfony:twig-bridge:*:*:*:*:*:*:*:* |
>= 2.0.0, < 4.4.51 | 4.4.51 |
| NVD | symfony | twig-bridgecpe:2.3:a:symfony:twig-bridge:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.4.31 | 5.4.31 |
| NVD | symfony | twig-bridgecpe:2.3:a:symfony:twig-bridge:*:*:*:*:*:*:*:* |
>= 6.0.0, < 6.3.8 | 6.3.8 |
| OSV | Packagist | symfony/twig-bridge | >= 2.0.0, < 4.4.51 | 4.4.51 |
| OSV | Packagist | symfony/twig-bridge | >= 5.0.0, < 5.4.31 | 5.4.31 |
| OSV | Packagist | symfony/twig-bridge | >= 6.0.0, < 6.3.8 | 6.3.8 |
| OSV | Packagist | symfony/symfony | >= 2.0.0, < 4.4.51 | 4.4.51 |
| OSV | Packagist | symfony/symfony | >= 5.0.0, < 5.4.31 | 5.4.31 |
| OSV | Packagist | symfony/symfony | >= 6.0.0, < 6.3.8 | 6.3.8 |
References
- https://github.com/symfony/symfony/commit/5d095d5feb1322b16450284a04d6bb48d1198f54 · Patch, WEB
- https://github.com/symfony/symfony/commit/9da9a145ce57e4585031ad4bee37c497353eec7c · Patch, WEB
- https://github.com/symfony/symfony/security/advisories/GHSA-q847-2q57-wmr3 · Vendor Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2023/11/msg00019.html · Mailing List, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-46734 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2023-46734.yaml · WEB
- https://github.com/symfony/symfony · PACKAGE
- https://symfony.com/cve-2023-46734 · WEB
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 10 Nov 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 12 Nov 2023)