# CVE-2023-46734: Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 50% of CVEs (2026-11-30)
- Published: 2023-11-10T17:49:55.188Z
- Modified: 2026-09-10T03:49:59.261Z
- Also known as: GHSA-q847-2q57-wmr3, BIT-SYMFONY-2023-46734
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- symfony symfony: >= 2.0.0, < 4.4.51; >= 5.0.0, < 5.4.31; >= 6.0.0, < 6.3.8
- symfony/twig-bridge (Packagist): from 2.0.0 before 4.4.51; from 5.0.0 before 5.4.31; from 6.0.0 before 6.3.8
- symfony/symfony (Packagist): from 2.0.0 before 4.4.51; from 5.0.0 before 5.4.31; from 6.0.0 before 6.3.8
- debian debian_linux: 10.0
- sensiolabs symfony: from 2.0.0 before 4.4.51; from 5.0.0 before 5.4.31; from 6.0.0 before 6.3.8
- symfony twig-bridge: from 2.0.0 before 4.4.51; from 5.0.0 before 5.4.31; from 6.0.0 before 6.3.8
- symfony (Bitnami): from 2.0.0 before 4.4.51; from 5.0.0 before 5.4.31; from 6.0.0 before 6.3.8

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/symfony/symfony/security/advisories/GHSA-q847-2q57-wmr3> (vendor-advisory, web)
- <https://github.com/symfony/symfony/commit/5d095d5feb1322b16450284a04d6bb48d1198f54> (patch, web)
- <https://github.com/symfony/symfony/commit/9da9a145ce57e4585031ad4bee37c497353eec7c> (patch, 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)

## Sources

- CVE List: [CVE-2023-46734](https://www.cve.org/CVERecord?id=CVE-2023-46734), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-q847-2q57-wmr3](https://github.com/advisories/GHSA-q847-2q57-wmr3), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-46734](https://nvd.nist.gov/vuln/detail/CVE-2023-46734), Public domain, modified 2026-07-29
- Bitnami Vulnerability Database: [BIT-SYMFONY-2023-46734](https://osv.dev/vulnerability/BIT-SYMFONY-2023-46734), Apache-2.0, modified 2024-03-06

---

Page: https://cve.day/CVE-2023-46734 · Whole record: https://cve.day/CVE-2023-46734.json · Rebuilt by cve.day 2026-11-25T22:58:30.308Z
