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.
{
"cwe_ids": [
"CWE-184",
"CWE-79"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45753.json",
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"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"
},
{
"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"
}
]
}
]
}{
"source": "CPE_RANGE",
"cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "6.1.0"
},
{
"fixed": "6.4.40"
},
{
"introduced": "7.0.0"
},
{
"fixed": "7.4.12"
},
{
"introduced": "8.0.0"
},
{
"fixed": "8.0.12"
}
]
}