{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-46734","id":"CVE-2023-46734","title":"Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters","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.","descriptionLong":"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":"2023-11-10T17:49:55.188Z","updated":"2026-10-28T02:31:01.119841048Z","reserved":"2023-10-25T14:30:33.752Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["symfony"],"affectedProducts":[{"vendor":"symfony","product":"symfony","defaultStatus":null,"versions":[{"version":">= 2.0.0, < 4.4.51","status":"affected"},{"version":">= 5.0.0, < 5.4.31","status":"affected"},{"version":">= 6.0.0, < 6.3.8","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"symfony/twig-bridge","purl":"pkg:composer/symfony/twig-bridge","ranges":[">=2.0.0 <4.4.51",">=5.0.0 <5.4.31",">=6.0.0 <6.3.8"],"fixed":["4.4.51","5.4.31","6.3.8"],"advisory":"GHSA-q847-2q57-wmr3"},{"ecosystem":"Packagist","name":"symfony/symfony","purl":"pkg:composer/symfony/symfony","ranges":[">=2.0.0 <4.4.51",">=5.0.0 <5.4.31",">=6.0.0 <6.3.8"],"fixed":["4.4.51","5.4.31","6.3.8"],"advisory":"GHSA-q847-2q57-wmr3"}],"cwes":["CWE-79"],"aliases":["BIT-symfony-2023-46734","GHSA-q847-2q57-wmr3"],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-q847-2q57-wmr3","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/symfony/symfony/commit/5d095d5feb1322b16450284a04d6bb48d1198f54","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/symfony/symfony/commit/9da9a145ce57e4585031ad4bee37c497353eec7c","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/11/msg00019.html","tags":["x_transferred","Mailing List","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/46xxx/CVE-2023-46734.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46734","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2023-46734.yaml","tags":["web"]},{"url":"https://github.com/symfony/symfony","tags":["package"]},{"url":"https://symfony.com/cve-2023-46734","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00812,"epssPercentile":0.57747,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-46734","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46734","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-46734","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-q847-2q57-wmr3","ok":true,"note":"GHSA-q847-2q57-wmr3"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-46734","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}