CVE-2026-45753Symfony: HtmlSanitizer UrlAttributeSanitizer Omits action/formaction/poster/cite — javascript: URI Survives Sanitization (XSS)
Updated under an hour ago ()
Does this affect you?
It affects symfony and 2 other products. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 2.1 LOW (v4.0, CNA)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
- Weakness (CWE)
- CWE-79, CWE-184
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Analyzed
- Record last updated
- Jul 14, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
symfony symfony symfony:symfony (from the name) | from 6.1.0-BETA1, < 6.4.40; from 7.0.0-BETA1, < 7.4.12; from 8.0.0-BETA1, < 8.0.12 | CNA record |
symfony html-sanitizer symfony:html_sanitizer (from the name) | from 6.1.0-BETA1, < 6.4.40; from 7.0.0-BETA1, < 7.4.12; from 8.0.0-BETA1, < 8.0.12 | CNA record |
sensiolabs symfony sensiolabs:symfony | from 6.1.0 before 6.4.40; from 7.0.0 before 7.4.12; from 8.0.0 before 8.0.12 | NVD |
References
- https://github.com/symfony/symfony/security/advisories/GHSA-hhg7-c65m-h7ffx-refsource-confirm, patch, vendor-advisory
- https://github.com/symfony/symfony/commit/487728e7e180a674a6d4c01bd0cb56161cc441b7x-refsource-misc, patch
- https://github.com/symfony/symfony/releases/tag/v6.4.40x-refsource-misc, product, release-notes
- https://github.com/symfony/symfony/releases/tag/v7.4.12x-refsource-misc, product, release-notes
- https://github.com/symfony/symfony/releases/tag/v8.0.12x-refsource-misc, product, release-notes
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.