Search
Find a vulnerability
Search criteria
8 vulnerabilities found for symfony/ux-icons by Symfony
CVE-2026-133779 (GCVE-0-2026-133779)
Vulnerability from nvd – Published: 2026-11-24 08:24 – Updated: 2026-11-24 08:24
VLAI
EPSS
VEX
Title
XSS in symfony/ux-icons via Attribute Names That the Sanitizer Reads Differently Than Browsers: Incomplete Fix for CVE-2026-55877
Summary
The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. The checks matched attribute names as written in the icon, while browsers and the renderer read some names differently.
On 2.x, fromFile() keys the attributes of the root <svg> element by their local name. A handler like x:onload passed the check, and was then rendered as onload, which runs on load. HTML parsers also read attribute names case-insensitively, so a SMIL animation with ATTRIBUTENAME="href" could set a javascript: URL on a link. And an href in the XLink namespace under another prefix, like q:href, wasn't checked. On 3.x, the sanitizer writes it out as xlink:href, and XML parsers resolve the prefix on both branches.
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 checks attributes by local name. It also finds the attributeName of animations in any case, and ignores the prefix of its value.
Severity
CWE
- CWE-79 - Improper Neutralization of Input During Web Page Generation
References
4 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133779 | vendor-advisory |
| https://github.com/symfony/ux/security/advisories… | vendor-advisory |
| https://github.com/symfony/ux/commit/6ee79fb176af… | patch |
| https://github.com/symfony/ux/commit/02fee6ebdb4b… | patch |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/ux-icons |
Affected:
2.36.1 , < 2.36.3
(semver)
Affected: 3.2.0 , < 3.8.1 (semver) |
Date Public
2026-11-24 07:51
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/ux-icons",
"product": "symfony/ux-icons",
"repo": "https://github.com/symfony/ux",
"vendor": "Symfony",
"versions": [
{
"lessThan": "2.36.3",
"status": "affected",
"version": "2.36.1",
"versionType": "semver"
},
{
"lessThan": "3.8.1",
"status": "affected",
"version": "3.2.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-24T07:51:26.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. The checks matched attribute names as written in the icon, while browsers and the renderer read some names differently.\n\nOn 2.x, `fromFile()` keys the attributes of the root `\u003csvg\u003e` element by their local name. A handler like `x:onload` passed the check, and was then rendered as `onload`, which runs on load. HTML parsers also read attribute names case-insensitively, so a SMIL animation with `ATTRIBUTENAME=\"href\"` could set a `javascript:` URL on a link. And an `href` in the XLink namespace under another prefix, like `q:href`, wasn\u0027t checked. On 3.x, the sanitizer writes it out as `xlink:href`, and XML parsers resolve the prefix on both branches.\n\nApplications 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.\n\nThe sanitizer now checks attributes by local name. It also finds the `attributeName` of animations in any case, and ignores the prefix of its value."
}
],
"value": "The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. The checks matched attribute names as written in the icon, while browsers and the renderer read some names differently.\n\nOn 2.x, fromFile() keys the attributes of the root \u003csvg\u003e element by their local name. A handler like x:onload passed the check, and was then rendered as onload, which runs on load. HTML parsers also read attribute names case-insensitively, so a SMIL animation with ATTRIBUTENAME=\"href\" could set a javascript: URL on a link. And an href in the XLink namespace under another prefix, like q:href, wasn\u0027t checked. On 3.x, the sanitizer writes it out as xlink:href, and XML parsers resolve the prefix on both branches.\n\nApplications 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.\n\nThe sanitizer now checks attributes by local name. It also finds the attributeName of animations in any case, and ignores the prefix of its value."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"vectorString": "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",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "CWE-79 Improper Neutralization of Input During Web Page Generation",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T08:24:12.738Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133779",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133779"
},
{
"name": "GHSA-x2m8-8v86-fjvx",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/ux/security/advisories/GHSA-x2m8-8v86-fjvx"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/ux/commit/6ee79fb176afce48c1c91b4b1b05ac88acfd3687"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/ux/commit/02fee6ebdb4b45f2b5b7fe8809364022c7bece1b"
}
],
"source": {
"advisory": "GHSA-x2m8-8v86-fjvx",
"discovery": "UNKNOWN"
},
"title": "XSS in symfony/ux-icons via Attribute Names That the Sanitizer Reads Differently Than Browsers: Incomplete Fix for CVE-2026-55877",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133779",
"datePublished": "2026-11-24T08:24:12.738Z",
"dateReserved": "2026-11-20T14:01:43.159Z",
"dateUpdated": "2026-11-24T08:24:12.738Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133777 (GCVE-0-2026-133777)
Vulnerability from nvd – Published: 2026-11-24 08:24 – Updated: 2026-11-24 08:24
VLAI
EPSS
VEX
Title
XSS in symfony/ux-icons via SVG Content That Browsers Parse as HTML: Incomplete Fix for CVE-2026-55877
Summary
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.
Severity
CWE
- CWE-79 - Improper Neutralization of Input During Web Page Generation
References
4 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133777 | vendor-advisory |
| https://github.com/symfony/ux/security/advisories… | vendor-advisory |
| https://github.com/symfony/ux/commit/05f984701bd6… | patch |
| https://github.com/symfony/ux/commit/06b2165a0fb1… | patch |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/ux-icons |
Affected:
2.36.1 , < 2.36.3
(semver)
Affected: 3.2.0 , < 3.8.1 (semver) |
Date Public
2026-11-24 07:51
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/ux-icons",
"product": "symfony/ux-icons",
"repo": "https://github.com/symfony/ux",
"vendor": "Symfony",
"versions": [
{
"lessThan": "2.36.3",
"status": "affected",
"version": "2.36.1",
"versionType": "semver"
},
{
"lessThan": "3.8.1",
"status": "affected",
"version": "3.2.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-24T07:51:21.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. Browsers parse an inline `\u003csvg\u003e` element with the rules of SVG, until they meet a start tag like `\u003cp\u003e`, `\u003cimg\u003e` or `\u003cmeta\u003e`. They then parse the rest of the icon as HTML, and they also parse the content of `\u003ctitle\u003e` and `\u003cdesc\u003e` 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 `\u003cp\u003e` element, a comment can end a `\u003cstyle\u003e` element early and add an `\u003cimg\u003e` element with an event handler:\n\n```xml\n\u003cp/\u003e\u003cstyle\u003e\u003c!--\u003c/style\u003e\u003cimg src=1 onerror=alert(1)\u003e--\u003e\u003c/style\u003e\n```\n\nIn the same way, an icon could add a `\u003cbase\u003e` element to the page, which changes where its relative links and forms go. It could also add a `\u003cmeta\u003e` element that redirects the page.\n\nComments were kept too, while browsers end a comment at `\u003c!--\u003e` or `\u003c!---\u003e`. The rest of such a comment then became live markup, even without any HTML element before it.\n\nApplications 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.\n\nThe sanitizer now removes comments and the elements that make browsers switch to HTML, and only keeps the text of `\u003ctitle\u003e` and `\u003cdesc\u003e` elements. It also makes sure that markup in CDATA sections and attribute values can\u0027t end a `\u003cnoscript\u003e` element around the icon."
}
],
"value": "The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. Browsers parse an inline \u003csvg\u003e element with the rules of SVG, until they meet a start tag like \u003cp\u003e, \u003cimg\u003e or \u003cmeta\u003e. They then parse the rest of the icon as HTML, and they also parse the content of \u003ctitle\u003e and \u003cdesc\u003e 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 \u003cp\u003e element, a comment can end a \u003cstyle\u003e element early and add an \u003cimg\u003e element with an event handler:\n\n\u003cp/\u003e\u003cstyle\u003e\u003c!--\u003c/style\u003e\u003cimg src=1 onerror=alert(1)\u003e--\u003e\u003c/style\u003e\n\nIn the same way, an icon could add a \u003cbase\u003e element to the page, which changes where its relative links and forms go. It could also add a \u003cmeta\u003e element that redirects the page.\n\nComments were kept too, while browsers end a comment at \u003c!--\u003e or \u003c!---\u003e. The rest of such a comment then became live markup, even without any HTML element before it.\n\nApplications 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.\n\nThe sanitizer now removes comments and the elements that make browsers switch to HTML, and only keeps the text of \u003ctitle\u003e and \u003cdesc\u003e elements. It also makes sure that markup in CDATA sections and attribute values can\u0027t end a \u003cnoscript\u003e element around the icon."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"vectorString": "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",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "CWE-79 Improper Neutralization of Input During Web Page Generation",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T08:24:10.889Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133777",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133777"
},
{
"name": "GHSA-f932-3w98-76gr",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/ux/security/advisories/GHSA-f932-3w98-76gr"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/ux/commit/05f984701bd6f46562f23a1fbec5a486b190673d"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/ux/commit/06b2165a0fb1d4e22dc5da86fcbea6011438ea31"
}
],
"source": {
"advisory": "GHSA-f932-3w98-76gr",
"discovery": "UNKNOWN"
},
"title": "XSS in symfony/ux-icons via SVG Content That Browsers Parse as HTML: Incomplete Fix for CVE-2026-55877",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133777",
"datePublished": "2026-11-24T08:24:10.889Z",
"dateReserved": "2026-11-20T14:01:43.159Z",
"dateUpdated": "2026-11-24T08:24:10.889Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133776 (GCVE-0-2026-133776)
Vulnerability from nvd – Published: 2026-11-24 08:24 – Updated: 2026-11-24 08:24
VLAI
EPSS
VEX
Title
XSS in symfony/ux-icons via Text That Sanitized Icons Contain Unescaped: Incomplete Fix for CVE-2026-55877
Summary
The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. When the sanitizer changes an icon, it writes the icon out again as HTML. HTML writes the content of some elements, like <style>, without escaping it. But inside an <svg>, browsers parse the content of a <style> element as markup. Escaped markup in such an element then becomes live in the page:
<path onclick="x"/><style xmlns="http://www.w3.org/1999/xhtml"><img src=x onerror=alert(1)></style>
The event handler of the <path> element only makes the sanitizer change the icon. Depending on the version, this affects every <style> element, or the elements of the XHTML namespace, like <style>, <xmp> or <noembed>.
On 2.x, the elements of the XHTML namespace were also kept. An XHTML <form> or <base> element then becomes live where icons are parsed as XML, like in the Google Maps bridge of ux-map.
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.
On 2.x, the sanitizer now writes icons out as XML, which escapes their text, and only keeps the elements of the SVG namespace. On 3.x, it now only keeps the elements of the SVG namespace.
Severity
CWE
References
4 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133776 | vendor-advisory |
| https://github.com/symfony/ux/security/advisories… | vendor-advisory |
| https://github.com/symfony/ux/commit/238a2f8317a0… | patch |
| https://github.com/symfony/ux/commit/827f5b0a3723… | patch |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/ux-icons |
Affected:
2.36.1 , < 2.36.3
(semver)
Affected: 3.2.0 , < 3.8.1 (semver) |
Date Public
2026-11-24 07:51
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/ux-icons",
"product": "symfony/ux-icons",
"repo": "https://github.com/symfony/ux",
"vendor": "Symfony",
"versions": [
{
"lessThan": "2.36.3",
"status": "affected",
"version": "2.36.1",
"versionType": "semver"
},
{
"lessThan": "3.8.1",
"status": "affected",
"version": "3.2.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Simon Andr\u00e9"
},
{
"lang": "en",
"type": "remediation developer",
"value": "Andrew Pan"
}
],
"datePublic": "2026-11-24T07:51:18.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. When the sanitizer changes an icon, it writes the icon out again as HTML. HTML writes the content of some elements, like `\u003cstyle\u003e`, without escaping it. But inside an `\u003csvg\u003e`, browsers parse the content of a `\u003cstyle\u003e` element as markup. Escaped markup in such an element then becomes live in the page:\n\n```xml\n\u003cpath onclick=\"x\"/\u003e\u003cstyle xmlns=\"http://www.w3.org/1999/xhtml\"\u003e\u0026lt;img src=x onerror=alert(1)\u0026gt;\u003c/style\u003e\n```\n\nThe event handler of the `\u003cpath\u003e` element only makes the sanitizer change the icon. Depending on the version, this affects every `\u003cstyle\u003e` element, or the elements of the XHTML namespace, like `\u003cstyle\u003e`, `\u003cxmp\u003e` or `\u003cnoembed\u003e`.\n\nOn 2.x, the elements of the XHTML namespace were also kept. An XHTML `\u003cform\u003e` or `\u003cbase\u003e` element then becomes live where icons are parsed as XML, like in the Google Maps bridge of ux-map.\n\nApplications 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.\n\nOn 2.x, the sanitizer now writes icons out as XML, which escapes their text, and only keeps the elements of the SVG namespace. On 3.x, it now only keeps the elements of the SVG namespace."
}
],
"value": "The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. When the sanitizer changes an icon, it writes the icon out again as HTML. HTML writes the content of some elements, like \u003cstyle\u003e, without escaping it. But inside an \u003csvg\u003e, browsers parse the content of a \u003cstyle\u003e element as markup. Escaped markup in such an element then becomes live in the page:\n\n\u003cpath onclick=\"x\"/\u003e\u003cstyle xmlns=\"http://www.w3.org/1999/xhtml\"\u003e\u0026lt;img src=x onerror=alert(1)\u0026gt;\u003c/style\u003e\n\nThe event handler of the \u003cpath\u003e element only makes the sanitizer change the icon. Depending on the version, this affects every \u003cstyle\u003e element, or the elements of the XHTML namespace, like \u003cstyle\u003e, \u003cxmp\u003e or \u003cnoembed\u003e.\n\nOn 2.x, the elements of the XHTML namespace were also kept. An XHTML \u003cform\u003e or \u003cbase\u003e element then becomes live where icons are parsed as XML, like in the Google Maps bridge of ux-map.\n\nApplications 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.\n\nOn 2.x, the sanitizer now writes icons out as XML, which escapes their text, and only keeps the elements of the SVG namespace. On 3.x, it now only keeps the elements of the SVG namespace."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"vectorString": "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",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "CWE-79 Improper Neutralization of Input During Web Page Generation",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-116",
"description": "CWE-116 Improper Encoding or Escaping of Output",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T08:24:09.849Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133776",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133776"
},
{
"name": "GHSA-jggp-vq9v-563x",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/ux/security/advisories/GHSA-jggp-vq9v-563x"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/ux/commit/238a2f8317a01a9c4fbd85e04e25241cd1e26bc2"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/ux/commit/827f5b0a3723f78177931b3d5044f65a4f615e9b"
}
],
"source": {
"advisory": "GHSA-jggp-vq9v-563x",
"discovery": "UNKNOWN"
},
"title": "XSS in symfony/ux-icons via Text That Sanitized Icons Contain Unescaped: Incomplete Fix for CVE-2026-55877",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133776",
"datePublished": "2026-11-24T08:24:09.849Z",
"dateReserved": "2026-11-20T14:01:43.159Z",
"dateUpdated": "2026-11-24T08:24:09.849Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133775 (GCVE-0-2026-133775)
Vulnerability from nvd – Published: 2026-11-24 08:24 – Updated: 2026-11-24 08:24
VLAI
EPSS
VEX
Title
XSS in symfony/ux-icons via Scripts Nested in SVG Style Elements: Incomplete Fix for CVE-2026-55877
Summary
The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. It removes scripts and event handlers everywhere, except inside <style> elements.
Unlike in HTML, the content of an SVG <style> element is parsed as markup. An icon can therefore still run JavaScript in the page with, for example:
<style><script>alert(1)</script></style>
<style><img src="invalid:" onerror="alert(1)"/></style>
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.
<style> elements are now sanitized like any other element, so their descendants lose scripts and event handlers. A <style> element that tries to close itself early is still removed. Otherwise, its CSS is kept.
Severity
CWE
- CWE-79 - Improper Neutralization of Input During Web Page Generation
References
4 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133775 | vendor-advisory |
| https://github.com/symfony/ux/security/advisories… | vendor-advisory |
| https://github.com/symfony/ux/commit/1733900e0ef8… | patch |
| https://github.com/symfony/ux/commit/8c31faa44fbd… | patch |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/ux-icons |
Affected:
2.17.0 , < 2.36.3
(semver)
Affected: 3.0.0 , < 3.8.1 (semver) |
Date Public
2026-11-24 07:51
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/ux-icons",
"product": "symfony/ux-icons",
"repo": "https://github.com/symfony/ux",
"vendor": "Symfony",
"versions": [
{
"lessThan": "2.36.3",
"status": "affected",
"version": "2.17.0",
"versionType": "semver"
},
{
"lessThan": "3.8.1",
"status": "affected",
"version": "3.0.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Andrew Pan"
}
],
"datePublic": "2026-11-24T07:51:16.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. It removes scripts and event handlers everywhere, except inside `\u003cstyle\u003e` elements.\n\nUnlike in HTML, the content of an SVG `\u003cstyle\u003e` element is parsed as markup. An icon can therefore still run JavaScript in the page with, for example:\n\n```xml\n\u003cstyle\u003e\u003cscript\u003ealert(1)\u003c/script\u003e\u003c/style\u003e\n\u003cstyle\u003e\u003cimg src=\"invalid:\" onerror=\"alert(1)\"/\u003e\u003c/style\u003e\n```\n\nApplications 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.\n\n`\u003cstyle\u003e` elements are now sanitized like any other element, so their descendants lose scripts and event handlers. A `\u003cstyle\u003e` element that tries to close itself early is still removed. Otherwise, its CSS is kept."
}
],
"value": "The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. It removes scripts and event handlers everywhere, except inside \u003cstyle\u003e elements.\n\nUnlike in HTML, the content of an SVG \u003cstyle\u003e element is parsed as markup. An icon can therefore still run JavaScript in the page with, for example:\n\n\u003cstyle\u003e\u003cscript\u003ealert(1)\u003c/script\u003e\u003c/style\u003e\n\u003cstyle\u003e\u003cimg src=\"invalid:\" onerror=\"alert(1)\"/\u003e\u003c/style\u003e\n\nApplications 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.\n\n\u003cstyle\u003e elements are now sanitized like any other element, so their descendants lose scripts and event handlers. A \u003cstyle\u003e element that tries to close itself early is still removed. Otherwise, its CSS is kept."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"vectorString": "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",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "CWE-79 Improper Neutralization of Input During Web Page Generation",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T08:24:08.942Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133775",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133775"
},
{
"name": "GHSA-5g2h-25jh-cw8r",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/ux/security/advisories/GHSA-5g2h-25jh-cw8r"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/ux/commit/1733900e0ef887beb11ab3b858c4e2bfa23bf52e"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/ux/commit/8c31faa44fbdc1a698ca3283eb06a2d3555baab2"
}
],
"source": {
"advisory": "GHSA-5g2h-25jh-cw8r",
"discovery": "UNKNOWN"
},
"title": "XSS in symfony/ux-icons via Scripts Nested in SVG Style Elements: Incomplete Fix for CVE-2026-55877",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133775",
"datePublished": "2026-11-24T08:24:08.942Z",
"dateReserved": "2026-11-20T14:01:43.159Z",
"dateUpdated": "2026-11-24T08:24:08.942Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133779 (GCVE-0-2026-133779)
Vulnerability from cvelistv5 – Published: 2026-11-24 08:24 – Updated: 2026-11-24 08:24
VLAI
EPSS
VEX
Title
XSS in symfony/ux-icons via Attribute Names That the Sanitizer Reads Differently Than Browsers: Incomplete Fix for CVE-2026-55877
Summary
The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. The checks matched attribute names as written in the icon, while browsers and the renderer read some names differently.
On 2.x, fromFile() keys the attributes of the root <svg> element by their local name. A handler like x:onload passed the check, and was then rendered as onload, which runs on load. HTML parsers also read attribute names case-insensitively, so a SMIL animation with ATTRIBUTENAME="href" could set a javascript: URL on a link. And an href in the XLink namespace under another prefix, like q:href, wasn't checked. On 3.x, the sanitizer writes it out as xlink:href, and XML parsers resolve the prefix on both branches.
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 checks attributes by local name. It also finds the attributeName of animations in any case, and ignores the prefix of its value.
Severity
CWE
- CWE-79 - Improper Neutralization of Input During Web Page Generation
References
4 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133779 | vendor-advisory |
| https://github.com/symfony/ux/security/advisories… | vendor-advisory |
| https://github.com/symfony/ux/commit/6ee79fb176af… | patch |
| https://github.com/symfony/ux/commit/02fee6ebdb4b… | patch |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/ux-icons |
Affected:
2.36.1 , < 2.36.3
(semver)
Affected: 3.2.0 , < 3.8.1 (semver) |
Date Public
2026-11-24 07:51
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/ux-icons",
"product": "symfony/ux-icons",
"repo": "https://github.com/symfony/ux",
"vendor": "Symfony",
"versions": [
{
"lessThan": "2.36.3",
"status": "affected",
"version": "2.36.1",
"versionType": "semver"
},
{
"lessThan": "3.8.1",
"status": "affected",
"version": "3.2.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-24T07:51:26.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. The checks matched attribute names as written in the icon, while browsers and the renderer read some names differently.\n\nOn 2.x, `fromFile()` keys the attributes of the root `\u003csvg\u003e` element by their local name. A handler like `x:onload` passed the check, and was then rendered as `onload`, which runs on load. HTML parsers also read attribute names case-insensitively, so a SMIL animation with `ATTRIBUTENAME=\"href\"` could set a `javascript:` URL on a link. And an `href` in the XLink namespace under another prefix, like `q:href`, wasn\u0027t checked. On 3.x, the sanitizer writes it out as `xlink:href`, and XML parsers resolve the prefix on both branches.\n\nApplications 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.\n\nThe sanitizer now checks attributes by local name. It also finds the `attributeName` of animations in any case, and ignores the prefix of its value."
}
],
"value": "The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. The checks matched attribute names as written in the icon, while browsers and the renderer read some names differently.\n\nOn 2.x, fromFile() keys the attributes of the root \u003csvg\u003e element by their local name. A handler like x:onload passed the check, and was then rendered as onload, which runs on load. HTML parsers also read attribute names case-insensitively, so a SMIL animation with ATTRIBUTENAME=\"href\" could set a javascript: URL on a link. And an href in the XLink namespace under another prefix, like q:href, wasn\u0027t checked. On 3.x, the sanitizer writes it out as xlink:href, and XML parsers resolve the prefix on both branches.\n\nApplications 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.\n\nThe sanitizer now checks attributes by local name. It also finds the attributeName of animations in any case, and ignores the prefix of its value."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"vectorString": "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",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "CWE-79 Improper Neutralization of Input During Web Page Generation",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T08:24:12.738Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133779",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133779"
},
{
"name": "GHSA-x2m8-8v86-fjvx",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/ux/security/advisories/GHSA-x2m8-8v86-fjvx"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/ux/commit/6ee79fb176afce48c1c91b4b1b05ac88acfd3687"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/ux/commit/02fee6ebdb4b45f2b5b7fe8809364022c7bece1b"
}
],
"source": {
"advisory": "GHSA-x2m8-8v86-fjvx",
"discovery": "UNKNOWN"
},
"title": "XSS in symfony/ux-icons via Attribute Names That the Sanitizer Reads Differently Than Browsers: Incomplete Fix for CVE-2026-55877",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133779",
"datePublished": "2026-11-24T08:24:12.738Z",
"dateReserved": "2026-11-20T14:01:43.159Z",
"dateUpdated": "2026-11-24T08:24:12.738Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133777 (GCVE-0-2026-133777)
Vulnerability from cvelistv5 – Published: 2026-11-24 08:24 – Updated: 2026-11-24 08:24
VLAI
EPSS
VEX
Title
XSS in symfony/ux-icons via SVG Content That Browsers Parse as HTML: Incomplete Fix for CVE-2026-55877
Summary
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.
Severity
CWE
- CWE-79 - Improper Neutralization of Input During Web Page Generation
References
4 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133777 | vendor-advisory |
| https://github.com/symfony/ux/security/advisories… | vendor-advisory |
| https://github.com/symfony/ux/commit/05f984701bd6… | patch |
| https://github.com/symfony/ux/commit/06b2165a0fb1… | patch |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/ux-icons |
Affected:
2.36.1 , < 2.36.3
(semver)
Affected: 3.2.0 , < 3.8.1 (semver) |
Date Public
2026-11-24 07:51
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/ux-icons",
"product": "symfony/ux-icons",
"repo": "https://github.com/symfony/ux",
"vendor": "Symfony",
"versions": [
{
"lessThan": "2.36.3",
"status": "affected",
"version": "2.36.1",
"versionType": "semver"
},
{
"lessThan": "3.8.1",
"status": "affected",
"version": "3.2.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-24T07:51:21.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. Browsers parse an inline `\u003csvg\u003e` element with the rules of SVG, until they meet a start tag like `\u003cp\u003e`, `\u003cimg\u003e` or `\u003cmeta\u003e`. They then parse the rest of the icon as HTML, and they also parse the content of `\u003ctitle\u003e` and `\u003cdesc\u003e` 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 `\u003cp\u003e` element, a comment can end a `\u003cstyle\u003e` element early and add an `\u003cimg\u003e` element with an event handler:\n\n```xml\n\u003cp/\u003e\u003cstyle\u003e\u003c!--\u003c/style\u003e\u003cimg src=1 onerror=alert(1)\u003e--\u003e\u003c/style\u003e\n```\n\nIn the same way, an icon could add a `\u003cbase\u003e` element to the page, which changes where its relative links and forms go. It could also add a `\u003cmeta\u003e` element that redirects the page.\n\nComments were kept too, while browsers end a comment at `\u003c!--\u003e` or `\u003c!---\u003e`. The rest of such a comment then became live markup, even without any HTML element before it.\n\nApplications 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.\n\nThe sanitizer now removes comments and the elements that make browsers switch to HTML, and only keeps the text of `\u003ctitle\u003e` and `\u003cdesc\u003e` elements. It also makes sure that markup in CDATA sections and attribute values can\u0027t end a `\u003cnoscript\u003e` element around the icon."
}
],
"value": "The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. Browsers parse an inline \u003csvg\u003e element with the rules of SVG, until they meet a start tag like \u003cp\u003e, \u003cimg\u003e or \u003cmeta\u003e. They then parse the rest of the icon as HTML, and they also parse the content of \u003ctitle\u003e and \u003cdesc\u003e 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 \u003cp\u003e element, a comment can end a \u003cstyle\u003e element early and add an \u003cimg\u003e element with an event handler:\n\n\u003cp/\u003e\u003cstyle\u003e\u003c!--\u003c/style\u003e\u003cimg src=1 onerror=alert(1)\u003e--\u003e\u003c/style\u003e\n\nIn the same way, an icon could add a \u003cbase\u003e element to the page, which changes where its relative links and forms go. It could also add a \u003cmeta\u003e element that redirects the page.\n\nComments were kept too, while browsers end a comment at \u003c!--\u003e or \u003c!---\u003e. The rest of such a comment then became live markup, even without any HTML element before it.\n\nApplications 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.\n\nThe sanitizer now removes comments and the elements that make browsers switch to HTML, and only keeps the text of \u003ctitle\u003e and \u003cdesc\u003e elements. It also makes sure that markup in CDATA sections and attribute values can\u0027t end a \u003cnoscript\u003e element around the icon."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"vectorString": "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",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "CWE-79 Improper Neutralization of Input During Web Page Generation",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T08:24:10.889Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133777",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133777"
},
{
"name": "GHSA-f932-3w98-76gr",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/ux/security/advisories/GHSA-f932-3w98-76gr"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/ux/commit/05f984701bd6f46562f23a1fbec5a486b190673d"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/ux/commit/06b2165a0fb1d4e22dc5da86fcbea6011438ea31"
}
],
"source": {
"advisory": "GHSA-f932-3w98-76gr",
"discovery": "UNKNOWN"
},
"title": "XSS in symfony/ux-icons via SVG Content That Browsers Parse as HTML: Incomplete Fix for CVE-2026-55877",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133777",
"datePublished": "2026-11-24T08:24:10.889Z",
"dateReserved": "2026-11-20T14:01:43.159Z",
"dateUpdated": "2026-11-24T08:24:10.889Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133776 (GCVE-0-2026-133776)
Vulnerability from cvelistv5 – Published: 2026-11-24 08:24 – Updated: 2026-11-24 08:24
VLAI
EPSS
VEX
Title
XSS in symfony/ux-icons via Text That Sanitized Icons Contain Unescaped: Incomplete Fix for CVE-2026-55877
Summary
The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. When the sanitizer changes an icon, it writes the icon out again as HTML. HTML writes the content of some elements, like <style>, without escaping it. But inside an <svg>, browsers parse the content of a <style> element as markup. Escaped markup in such an element then becomes live in the page:
<path onclick="x"/><style xmlns="http://www.w3.org/1999/xhtml"><img src=x onerror=alert(1)></style>
The event handler of the <path> element only makes the sanitizer change the icon. Depending on the version, this affects every <style> element, or the elements of the XHTML namespace, like <style>, <xmp> or <noembed>.
On 2.x, the elements of the XHTML namespace were also kept. An XHTML <form> or <base> element then becomes live where icons are parsed as XML, like in the Google Maps bridge of ux-map.
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.
On 2.x, the sanitizer now writes icons out as XML, which escapes their text, and only keeps the elements of the SVG namespace. On 3.x, it now only keeps the elements of the SVG namespace.
Severity
CWE
References
4 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133776 | vendor-advisory |
| https://github.com/symfony/ux/security/advisories… | vendor-advisory |
| https://github.com/symfony/ux/commit/238a2f8317a0… | patch |
| https://github.com/symfony/ux/commit/827f5b0a3723… | patch |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/ux-icons |
Affected:
2.36.1 , < 2.36.3
(semver)
Affected: 3.2.0 , < 3.8.1 (semver) |
Date Public
2026-11-24 07:51
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/ux-icons",
"product": "symfony/ux-icons",
"repo": "https://github.com/symfony/ux",
"vendor": "Symfony",
"versions": [
{
"lessThan": "2.36.3",
"status": "affected",
"version": "2.36.1",
"versionType": "semver"
},
{
"lessThan": "3.8.1",
"status": "affected",
"version": "3.2.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Simon Andr\u00e9"
},
{
"lang": "en",
"type": "remediation developer",
"value": "Andrew Pan"
}
],
"datePublic": "2026-11-24T07:51:18.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. When the sanitizer changes an icon, it writes the icon out again as HTML. HTML writes the content of some elements, like `\u003cstyle\u003e`, without escaping it. But inside an `\u003csvg\u003e`, browsers parse the content of a `\u003cstyle\u003e` element as markup. Escaped markup in such an element then becomes live in the page:\n\n```xml\n\u003cpath onclick=\"x\"/\u003e\u003cstyle xmlns=\"http://www.w3.org/1999/xhtml\"\u003e\u0026lt;img src=x onerror=alert(1)\u0026gt;\u003c/style\u003e\n```\n\nThe event handler of the `\u003cpath\u003e` element only makes the sanitizer change the icon. Depending on the version, this affects every `\u003cstyle\u003e` element, or the elements of the XHTML namespace, like `\u003cstyle\u003e`, `\u003cxmp\u003e` or `\u003cnoembed\u003e`.\n\nOn 2.x, the elements of the XHTML namespace were also kept. An XHTML `\u003cform\u003e` or `\u003cbase\u003e` element then becomes live where icons are parsed as XML, like in the Google Maps bridge of ux-map.\n\nApplications 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.\n\nOn 2.x, the sanitizer now writes icons out as XML, which escapes their text, and only keeps the elements of the SVG namespace. On 3.x, it now only keeps the elements of the SVG namespace."
}
],
"value": "The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. When the sanitizer changes an icon, it writes the icon out again as HTML. HTML writes the content of some elements, like \u003cstyle\u003e, without escaping it. But inside an \u003csvg\u003e, browsers parse the content of a \u003cstyle\u003e element as markup. Escaped markup in such an element then becomes live in the page:\n\n\u003cpath onclick=\"x\"/\u003e\u003cstyle xmlns=\"http://www.w3.org/1999/xhtml\"\u003e\u0026lt;img src=x onerror=alert(1)\u0026gt;\u003c/style\u003e\n\nThe event handler of the \u003cpath\u003e element only makes the sanitizer change the icon. Depending on the version, this affects every \u003cstyle\u003e element, or the elements of the XHTML namespace, like \u003cstyle\u003e, \u003cxmp\u003e or \u003cnoembed\u003e.\n\nOn 2.x, the elements of the XHTML namespace were also kept. An XHTML \u003cform\u003e or \u003cbase\u003e element then becomes live where icons are parsed as XML, like in the Google Maps bridge of ux-map.\n\nApplications 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.\n\nOn 2.x, the sanitizer now writes icons out as XML, which escapes their text, and only keeps the elements of the SVG namespace. On 3.x, it now only keeps the elements of the SVG namespace."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"vectorString": "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",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "CWE-79 Improper Neutralization of Input During Web Page Generation",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-116",
"description": "CWE-116 Improper Encoding or Escaping of Output",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T08:24:09.849Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133776",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133776"
},
{
"name": "GHSA-jggp-vq9v-563x",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/ux/security/advisories/GHSA-jggp-vq9v-563x"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/ux/commit/238a2f8317a01a9c4fbd85e04e25241cd1e26bc2"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/ux/commit/827f5b0a3723f78177931b3d5044f65a4f615e9b"
}
],
"source": {
"advisory": "GHSA-jggp-vq9v-563x",
"discovery": "UNKNOWN"
},
"title": "XSS in symfony/ux-icons via Text That Sanitized Icons Contain Unescaped: Incomplete Fix for CVE-2026-55877",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133776",
"datePublished": "2026-11-24T08:24:09.849Z",
"dateReserved": "2026-11-20T14:01:43.159Z",
"dateUpdated": "2026-11-24T08:24:09.849Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133775 (GCVE-0-2026-133775)
Vulnerability from cvelistv5 – Published: 2026-11-24 08:24 – Updated: 2026-11-24 08:24
VLAI
EPSS
VEX
Title
XSS in symfony/ux-icons via Scripts Nested in SVG Style Elements: Incomplete Fix for CVE-2026-55877
Summary
The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. It removes scripts and event handlers everywhere, except inside <style> elements.
Unlike in HTML, the content of an SVG <style> element is parsed as markup. An icon can therefore still run JavaScript in the page with, for example:
<style><script>alert(1)</script></style>
<style><img src="invalid:" onerror="alert(1)"/></style>
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.
<style> elements are now sanitized like any other element, so their descendants lose scripts and event handlers. A <style> element that tries to close itself early is still removed. Otherwise, its CSS is kept.
Severity
CWE
- CWE-79 - Improper Neutralization of Input During Web Page Generation
References
4 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133775 | vendor-advisory |
| https://github.com/symfony/ux/security/advisories… | vendor-advisory |
| https://github.com/symfony/ux/commit/1733900e0ef8… | patch |
| https://github.com/symfony/ux/commit/8c31faa44fbd… | patch |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/ux-icons |
Affected:
2.17.0 , < 2.36.3
(semver)
Affected: 3.0.0 , < 3.8.1 (semver) |
Date Public
2026-11-24 07:51
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/ux-icons",
"product": "symfony/ux-icons",
"repo": "https://github.com/symfony/ux",
"vendor": "Symfony",
"versions": [
{
"lessThan": "2.36.3",
"status": "affected",
"version": "2.17.0",
"versionType": "semver"
},
{
"lessThan": "3.8.1",
"status": "affected",
"version": "3.0.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Andrew Pan"
}
],
"datePublic": "2026-11-24T07:51:16.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. It removes scripts and event handlers everywhere, except inside `\u003cstyle\u003e` elements.\n\nUnlike in HTML, the content of an SVG `\u003cstyle\u003e` element is parsed as markup. An icon can therefore still run JavaScript in the page with, for example:\n\n```xml\n\u003cstyle\u003e\u003cscript\u003ealert(1)\u003c/script\u003e\u003c/style\u003e\n\u003cstyle\u003e\u003cimg src=\"invalid:\" onerror=\"alert(1)\"/\u003e\u003c/style\u003e\n```\n\nApplications 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.\n\n`\u003cstyle\u003e` elements are now sanitized like any other element, so their descendants lose scripts and event handlers. A `\u003cstyle\u003e` element that tries to close itself early is still removed. Otherwise, its CSS is kept."
}
],
"value": "The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. It removes scripts and event handlers everywhere, except inside \u003cstyle\u003e elements.\n\nUnlike in HTML, the content of an SVG \u003cstyle\u003e element is parsed as markup. An icon can therefore still run JavaScript in the page with, for example:\n\n\u003cstyle\u003e\u003cscript\u003ealert(1)\u003c/script\u003e\u003c/style\u003e\n\u003cstyle\u003e\u003cimg src=\"invalid:\" onerror=\"alert(1)\"/\u003e\u003c/style\u003e\n\nApplications 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.\n\n\u003cstyle\u003e elements are now sanitized like any other element, so their descendants lose scripts and event handlers. A \u003cstyle\u003e element that tries to close itself early is still removed. Otherwise, its CSS is kept."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"vectorString": "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",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "CWE-79 Improper Neutralization of Input During Web Page Generation",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T08:24:08.942Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133775",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133775"
},
{
"name": "GHSA-5g2h-25jh-cw8r",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/ux/security/advisories/GHSA-5g2h-25jh-cw8r"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/ux/commit/1733900e0ef887beb11ab3b858c4e2bfa23bf52e"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/ux/commit/8c31faa44fbdc1a698ca3283eb06a2d3555baab2"
}
],
"source": {
"advisory": "GHSA-5g2h-25jh-cw8r",
"discovery": "UNKNOWN"
},
"title": "XSS in symfony/ux-icons via Scripts Nested in SVG Style Elements: Incomplete Fix for CVE-2026-55877",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133775",
"datePublished": "2026-11-24T08:24:08.942Z",
"dateReserved": "2026-11-20T14:01:43.159Z",
"dateUpdated": "2026-11-24T08:24:08.942Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}