Vulnerabilities

CVE-2026-45753

Medium 6.1 CVSS 3.1

Description

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.

Description as published by the source, in English.

Key facts

Published
2026-07-14
Last modified
2026-07-15
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.3 % higher than 22 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Sensiolabs Symfony ≥ 6.1.0, < 6.4.40 Affected
Sensiolabs Symfony ≥ 7.0.0, < 7.4.12 Affected
Sensiolabs Symfony ≥ 8.0.0, < 8.0.12 Affected
symfony html-sanitizer (Packagist) ≥ 6.1.0, < 6.4.40 Affected
symfony html-sanitizer (Packagist) ≥ 7.0.0, < 7.4.12 Affected
symfony html-sanitizer (Packagist) ≥ 8.0.0, < 8.0.12 Affected
symfony symfony (Packagist) ≥ 6.1.0, < 6.4.40 Affected
symfony symfony (Packagist) ≥ 7.0.0, < 7.4.12 Affected
symfony symfony (Packagist) ≥ 8.0.0, < 8.0.12 Affected

Weakness type

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities