# CVE-2026-45753: Symfony: HtmlSanitizer UrlAttributeSanitizer Omits action/formaction/poster/cite — javascript: URI Survives Sanitization (XSS)

- Severity: Low 2.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-05-28T16:43:27.000Z
- Modified: 2026-09-10T03:51:06.023Z
- Also known as: GHSA-hhg7-c65m-h7ff
- Weaknesses: CWE-79, CWE-184
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- symfony symfony: >= 6.1.0-BETA1, < 6.4.40; >= 7.0.0-BETA1, < 7.4.12; >= 8.0.0-BETA1, < 8.0.12
- symfony html-sanitizer: >= 6.1.0-BETA1, < 6.4.40; >= 7.0.0-BETA1, < 7.4.12; >= 8.0.0-BETA1, < 8.0.12
- symfony/html-sanitizer (Packagist): from 6.1.0 before 6.4.40; from 7.0.0 before 7.4.12; from 8.0.0 before 8.0.12
- symfony/symfony (Packagist): from 6.1.0 before 6.4.40; from 7.0.0 before 7.4.12; from 8.0.0 before 8.0.12
- 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

## Every score

- GitHub_M: CVSS:4.0 2.1 Low `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`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/symfony/symfony/security/advisories/GHSA-hhg7-c65m-h7ff> (patch, vendor-advisory, web)
- <https://github.com/symfony/symfony/commit/487728e7e180a674a6d4c01bd0cb56161cc441b7> (patch)
- <https://github.com/symfony/symfony/releases/tag/v6.4.40> (product, release-notes)
- <https://github.com/symfony/symfony/releases/tag/v7.4.12> (product, release-notes)
- <https://github.com/symfony/symfony/releases/tag/v8.0.12> (product, release-notes)
- <https://github.com/symfony/symfony/commit/26a598fcfc4f903cc55ff202f642ee621839825e> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/html-sanitizer/CVE-2026-45753.yaml> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-45753.yaml> (web)
- <https://github.com/symfony/symfony> (package)
- <https://symfony.com/cve-2026-45753> (web)

## Sources

- CVE List: [CVE-2026-45753](https://www.cve.org/CVERecord?id=CVE-2026-45753), CVE Terms of Use, modified 2026-07-14
- GitHub Advisory Database: [GHSA-hhg7-c65m-h7ff](https://github.com/advisories/GHSA-hhg7-c65m-h7ff), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-45753](https://nvd.nist.gov/vuln/detail/CVE-2026-45753), Public domain, modified 2026-07-15

---

Page: https://cve.day/CVE-2026-45753 · Whole record: https://cve.day/CVE-2026-45753.json · Rebuilt by cve.day 2026-11-25T22:59:28.159Z
