{"id":"CVE-2023-46734","published":"2023-11-10T17:49:55Z","modified":"2025-02-13T17:14:33Z","title":"Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters","vendor":"symfony","product":"symfony","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00812,"percentile":0.57875,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-q847-2q57-wmr3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/symfony/symfony/commit/5d095d5feb1322b16450284a04d6bb48d1198f54","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/commit/9da9a145ce57e4585031ad4bee37c497353eec7c","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/11/msg00019.html","tags":[]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":11.57},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"symfony","affectedVersions":[{"vendor":"symfony","product":"symfony","versions":[">= 2.0.0, < 4.4.51",">= 5.0.0, < 5.4.31",">= 6.0.0, < 6.3.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-03T15:11:26.071140Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"symfony/twig-bridge","vulnerableRanges":[">=2.0.0, <4.4.51",">=5.0.0, <5.4.31",">=6.0.0, <6.3.8"],"patched":["4.4.51","5.4.31","6.3.8"],"from":["GHSA-q847-2q57-wmr3"],"provenance":"source"},{"ecosystem":"Packagist","package":"symfony/symfony","vulnerableRanges":[">=2.0.0, <4.4.51",">=5.0.0, <5.4.31",">=6.0.0, <6.3.8"],"patched":["4.4.51","5.4.31","6.3.8"],"from":["GHSA-q847-2q57-wmr3"],"provenance":"source"}],"summary":{"text":"The Symfony framework's CodeExtension, used by its Twig templating integration, contains a cross-site scripting flaw in several filters that are marked as producing safe HTML but do not actually sanitise their input. An attacker can exploit this by getting a victim to interact with a page that renders attacker-controlled input through the affected filters, which requires network access and user interaction but no authentication.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:57Z"},"euvd":{"id":"EUVD-2023-3016","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-24894","published":"2023-02-03","fixed":"6.2.6","kev":false,"link":{"from":"CVE-2022-24894","to":"CVE-2023-46734","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:symfony/symfony","fromFixed":"4.4.50","toFixed":"4.4.51","daysApart":280},{"kind":"version-step","provenance":"source","package":"Packagist:symfony/symfony","fromFixed":"5.4.20","toFixed":"5.4.31","daysApart":280}]}},{"cve":"CVE-2022-24895","published":"2023-02-03","fixed":"6.2.6","kev":false},{"cve":"CVE-2023-46733","published":"2023-11-10","fixed":"6.3.8","kev":false},{"cve":"CVE-2023-46734","published":"2023-11-10","fixed":"6.3.8","kev":false},{"cve":"CVE-2023-46735","published":"2023-11-10","fixed":"6.3.8","kev":false},{"cve":"CVE-2024-50341","published":"2024-11-06","fixed":"7.1.3","kev":false,"link":{"from":"CVE-2023-46734","to":"CVE-2024-50341","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:symfony/symfony","fromFixed":"6.3.8","toFixed":"6.4.10","daysApart":362}]}},{"cve":"CVE-2024-50343","published":"2024-11-06","fixed":"7.1.4","kev":false,"link":{"from":"CVE-2023-46734","to":"CVE-2024-50343","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:symfony/symfony","fromFixed":"5.4.31","toFixed":"5.4.43","daysApart":362}]}}],"package":"Packagist:symfony/symfony"}}