{"id":"CVE-2026-45753","summary":"Symfony: HtmlSanitizer UrlAttributeSanitizer Omits action/formaction/poster/cite — javascript: URI Survives Sanitization (XSS)","details":"Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 6.1.0-BETA1 until 6.4.40, 7.4.12, and 8.0.12, UrlAttributeSanitizer::getSupportedAttributes() omits URL-valued attributes including action, formaction, poster, and cite, so configurations that admit those attributes can leave javascript: URIs unsanitized and enable XSS when the resulting HTML is rendered or a victim submits a form or clicks a button. This issue is fixed in versions 6.4.40, 7.4.12, and 8.0.12.","aliases":["GHSA-hhg7-c65m-h7ff"],"modified":"2026-07-16T03:49:19.378519778Z","published":"2026-07-14T18:21:13.644Z","database_specific":{"cwe_ids":["CWE-184","CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45753.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/symfony/symfony/releases/tag/v6.4.40"},{"type":"WEB","url":"https://github.com/symfony/symfony/releases/tag/v7.4.12"},{"type":"WEB","url":"https://github.com/symfony/symfony/releases/tag/v8.0.12"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45753.json"},{"type":"ADVISORY","url":"https://github.com/symfony/symfony/security/advisories/GHSA-hhg7-c65m-h7ff"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45753"},{"type":"FIX","url":"https://github.com/symfony/symfony/commit/487728e7e180a674a6d4c01bd0cb56161cc441b7"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/symfony/symfony","events":[{"introduced":"af7ed84e9feaf65ff3dfc25d15d464fdb0dedf4e"},{"introduced":"ed57652df42aef294f411ef53dcfa5d6b7da2f90"},{"introduced":"eca48f1c4682ee0c55a2d320ca25d8292ed48f75"},{"fixed":"95a951788e30c45356278f4e4472cbbf552d0eb9"},{"fixed":"275f5cbccbcc50205206f05e599c4f57009aadb8"},{"fixed":"06d3b2c9a8aeb5d8493738cc51e24f6a1215827c"},{"fixed":"487728e7e180a674a6d4c01bd0cb56161cc441b7"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"6.1.0-BETA1"},{"fixed":"6.4.40"},{"introduced":"7.0.0-BETA1"},{"fixed":"7.4.12"},{"introduced":"8.0.0-BETA1"},{"fixed":"8.0.12"}]}}],"versions":["v8.0.11","v7.4.11","v6.4.39","v6.4.38","v8.0.10","v7.4.10","v8.0.9","v7.4.9","v6.4.37","v8.0.8","v7.4.8","v6.4.36","v8.0.7","v7.4.7","v6.4.35","v8.0.6","v7.4.6","v6.4.34","v8.0.5","v7.4.5","v6.4.33","v8.0.4","v7.4.4","v6.4.32","v8.0.3","v7.4.3","v6.4.31","v8.0.2","v7.4.2","v8.0.1","v7.4.1","v6.4.30","v7.4.0","v8.0.0","v7.4.0-RC3","v8.0.0-RC3","v8.0.0-RC2","v7.4.0-RC2","v8.0.0-RC1","v7.4.0-RC1","v6.4.29","v6.4.28","v8.0.0-BETA2","v7.4.0-BETA2","v6.4.27","v8.0.0-BETA1","v7.4.0-BETA1","v6.4.26","v6.4.25","v6.4.24","v6.4.23","v6.4.22","v7.3.0-RC1","v7.3.0-BETA2","v7.3.0-BETA1","v6.4.21","v6.4.20","v6.4.19","v6.4.18","v6.4.17","v6.4.16","v7.2.0-RC1","v6.4.15","v7.2.0-BETA2","v6.4.14","v7.2.0-BETA1","v6.4.13","v6.4.12","v6.4.11","v6.4.10","v6.4.9","v6.4.8","v7.1.0-RC1","v7.1.0-BETA1","v6.4.7","v6.4.6","v6.4.5","v6.4.4","v6.4.3","v6.4.2","v6.4.1","v6.4.0","v6.4.0-RC2","v7.0.0-RC1","v6.4.0-RC1","v7.0.0-BETA3","v6.4.0-BETA3","v7.0.0-BETA2","v6.4.0-BETA2","v7.0.0-BETA1","v6.4.0-BETA1","v6.3.0-RC1","v6.3.0-BETA3","v6.3.0-BETA2","v6.3.0-BETA1","v6.2.0-BETA3","v6.2.0-BETA2","v6.2.0-BETA1","v6.1.0-RC1","v6.1.0-BETA2","v6.1.0-BETA1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45753.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}]}