CVE Catalog

CVE-2026-45753

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.48%

38th percentile - higher than 38% of all known CVEs

Summary

A vulnerability in Symfony, versions from 6.1.0-BETA1 to 6.4.40, 7.4.12, and 8.0.12, occurs because UrlAttributeSanitizer::getSupportedAttributes() omits URL-valued attributes (action, formaction, poster, cite). Configurations that allow these attributes may leave javascript: URIs unsanitized, enabling XSS when the resulting HTML is rendered or a victim interacts with a form or button.

Risk Assessment

The risk for the organization includes the execution of malicious scripts in the victim's browser, potentially leading to session data theft, account takeover, or further attacks on application users.

Recommendation

It is recommended to immediately upgrade Symfony to version 6.4.40, 7.4.12, or 8.0.12, depending on the branch used, to eliminate the XSS vulnerability.

Other vulnerabilities in Symfony

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS