{"id":"CVE-2026-45753","published":"2026-07-14T18:21:13Z","modified":"2026-07-14T18:39:28Z","title":"Symfony: HtmlSanitizer UrlAttributeSanitizer Omits action/formaction/poster/cite — javascript: URI Survives…","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. 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.1,"severity":"LOW","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00253,"percentile":0.17136,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs"}],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-hhg7-c65m-h7ff","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/symfony/symfony/commit/487728e7e180a674a6d4c01bd0cb56161cc441b7","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v6.4.40","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v7.4.12","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v8.0.12","tags":["x_refsource_MISC"]}],"priority":{"score":4.9,"factors":[{"name":"EPSS percentile","points":3.43},{"name":"CVSS severity","points":1.47}]},"vendorSlug":"symfony","affectedVersions":[{"vendor":"symfony","product":"symfony","versions":[">= 6.1.0-BETA1, < 6.4.40",">= 7.0.0-BETA1, < 7.4.12",">= 8.0.0-BETA1, < 8.0.12"]},{"vendor":"symfony","product":"html-sanitizer","versions":[">= 6.1.0-BETA1, < 6.4.40",">= 7.0.0-BETA1, < 7.4.12",">= 8.0.0-BETA1, < 8.0.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-14T18:39:22.688923Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"symfony/html-sanitizer","vulnerableRanges":[">=6.1.0, <6.4.40",">=7.0.0, <7.4.12",">=8.0.0, <8.0.12"],"patched":["6.4.40","7.4.12","8.0.12"],"from":["GHSA-hhg7-c65m-h7ff"],"provenance":"source"},{"ecosystem":"Packagist","package":"symfony/symfony","vulnerableRanges":[">=6.1.0, <6.4.40",">=7.0.0, <7.4.12",">=8.0.0, <8.0.12"],"patched":["6.4.40","7.4.12","8.0.12"],"from":["GHSA-hhg7-c65m-h7ff"],"provenance":"source"}],"summary":{"text":"The HtmlSanitizer component in Symfony, a PHP framework, has a flaw in its UrlAttributeSanitizer, which omits URL-valued attributes such as action, formaction, poster, and cite from the set of attributes it checks. An attacker can exploit this where the sanitizer configuration admits those attributes, by supplying a javascript: URI that survives sanitization and executes when the rendered HTML is viewed, which requires user interaction such as submitting a form or clicking a button and no authentication or network position beyond reaching the application.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:34Z"},"euvd":{"id":"EUVD-2026-44344","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-symfony-cve-2026-45753","children":[{"from":"CVE-2026-45753","to":"CVE-2026-121949","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"The fixes for CVE-2026-45753 and CVE-2026-48761 extended the same attribute list but did not cover these two attributes.","from":"CVE.org","in":"CVE-2026-121949"},{"kind":"same-code","provenance":"machine","files":["src/Symfony/Component/HtmlSanitizer/Visitor/AttributeSanitizer/UrlAttributeSanitizer.php"],"commits":["https://github.com/symfony/symfony/commit/50e7a38a8f088601c09669b9d267c9c0228884e1","https://github.com/symfony/symfony/commit/487728e7e180a674a6d4c01bd0cb56161cc441b7"],"basis":"shared function","functions":["getSupportedElements"]}]},{"from":"CVE-2026-45753","to":"CVE-2026-48761","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Symfony/Component/HtmlSanitizer/Visitor/AttributeSanitizer/UrlAttributeSanitizer.php"],"commits":["https://github.com/symfony/symfony/commit/487728e7e180a674a6d4c01bd0cb56161cc441b7","https://github.com/symfony/symfony/commit/069a70f9f26e61e9de3b7f9a864a86ed24b36bd0"],"basis":"shared function","functions":["getSupportedElements"]}]}]}}