# CVE-2026-133777: XSS in symfony/ux-icons via SVG Content That Browsers Parse as HTML: Incomplete Fix for CVE-2026-55877

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Passive; Confidentiality impact: None; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: Low; Integrity impact on other systems: Low; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.55% (percentile 40, 2026-11-28)
- **CWE:** CWE-79
- **Published:** 2026-11-24T08:24:10.889Z
- **Modified:** 2026-11-25T17:17:38.303Z

## Who should check

- Anyone running symfony/ux-icons \>= 2.36.1, \< 2.36.3; \>= 3.2.0, \< 3.8.1

## Description

The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. Browsers parse an inline \<svg\> element with the rules of SVG, until they meet a start tag like \<p\>, \<img\> or \<meta\>. They then parse the rest of the icon as HTML, and they also parse the content of \<title\> and \<desc\> elements as HTML. The sanitizer only checked icons as SVG, so an icon could contain markup that becomes live once parsed as HTML. For example, after a \<p\> element, a comment can end a \<style\> element early and add an \<img\> element with an event handler:

\<p/\>\<style\>\<!--\</style\>\<img src=1 onerror=alert(1)\>--\>\</style\>

In the same way, an icon could add a \<base\> element to the page, which changes where its relative links and forms go. It could also add a \<meta\> element that redirects the page.

Comments were kept too, while browsers end a comment at \<!--\> or \<!---\>. The rest of such a comment then became live markup, even without any HTML element before it.

Applications are exposed when an attacker can influence the SVG of the icons they render. The sources are the same as for CVE-2026-55877, like local icon files and the responses of the Iconify API.

The sanitizer now removes comments and the elements that make browsers switch to HTML, and only keeps the text of \<title\> and \<desc\> elements. It also makes sure that markup in CDATA sections and attribute values can't end a \<noscript\> element around the icon.

## Affected and fixed versions

- symfony/ux-icons: \>= 2.36.1, \< 2.36.3; \>= 3.2.0, \< 3.8.1 (cvelist)

## Mitigation

- Upgrade symfony/ux-icons to 3.8.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-133777. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-133777.md
Affected: symfony/ux-icons >= 2.36.1, < 2.36.3; >= 3.2.0, < 3.8.1
Fixed in: symfony/ux-icons 2.36.3, symfony/ux-icons 3.8.1

Steps:
1. Search this machine and project for symfony/ux-icons: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-133777 being exploited?

There is no confirmed exploitation: CVE-2026-133777 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.55% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-133777?

Medium: CVSS 5.3 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-133777?

symfony/ux-icons \>= 2.36.1, \< 2.36.3; \>= 3.2.0, \< 3.8.1.

### Is there a fix for CVE-2026-133777?

Yes. Fixed in symfony/ux-icons 2.36.3, symfony/ux-icons 3.8.1. Upgrade symfony/ux-icons to 3.8.1 or later.

### How do I check if I'm affected by CVE-2026-133777?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://symfony.com/cve-2026-133777>
- vendor: <https://github.com/symfony/ux/security/advisories/GHSA-f932-3w98-76gr>
- patch: <https://github.com/symfony/ux/commit/05f984701bd6f46562f23a1fbec5a486b190673d>
- patch: <https://github.com/symfony/ux/commit/06b2165a0fb1d4e22dc5da86fcbea6011438ea31>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-133777>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-133777> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-133777>
