← Back to CVE Explorer

CVE-2026-55877

Full vulnerability record from the local CVENow database.

Description

Symfony UX is a JavaScript ecosystem for Symfony. From 2.17.0 before 2.36.1 and from 3.0.0 before 3.2.0, the ux_icon() Twig function is marked is_safe=['html'] and Icon::toHtml() inlines SVG source verbatim, allowing unsanitized local SVG files or Iconify on-demand JSON body responses containing nested script elements, on* event handlers, or dangerous URL schemes to execute cross-site scripting. This issue is fixed in versions 2.36.1 and 3.2.0.

Severity
MEDIUM
CVSS score
6.1 (v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-07-08 22:17:15.920000
Last modified
2026-10-25 17:10:00.197000
View original CVE JSON
{
  "id": "CVE-2026-55877",
  "sourceIdentifier": "[email protected]",
  "published": "2026-07-08T22:17:15.920",
  "lastModified": "2026-10-25T17:10:00.197",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Symfony UX is a JavaScript ecosystem for Symfony. From 2.17.0 before 2.36.1 and from 3.0.0 before 3.2.0, the ux_icon() Twig function is marked is_safe=['html'] and Icon::toHtml() inlines SVG source verbatim, allowing unsanitized local SVG files or Iconify on-demand JSON body responses containing nested script elements, on* event handlers, or dangerous URL schemes to execute cross-site scripting. This issue is fixed in versions 2.36.1 and 3.2.0."
    },
    {
      "lang": "es",
      "value": "Symfony UX es un ecosistema JavaScript para Symfony. Desde 2.17.0 antes de 2.36.1 y desde 3.0.0 antes de 3.2.0, la función Twig ux_icon() está marcada como is_safe=[’html’] e Icon::toHtml() inserta el código fuente SVG textualmente, permitiendo que archivos SVG locales no saneados o respuestas de cuerpo JSON bajo demanda de Iconify que contengan elementos de script anidados, manejadores de eventos on, o esquemas de URL peligrosos ejecuten cross-site scripting. Este problema está solucionado en las versiones 2.36.1 y 3.2.0."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "symfony",
          "product": "ux",
          "versions": [
            {
              "version": ">= 2.17.0, < 2.36.1",
              "status": "affected"
            },
            {
              "version": ">= 3.0.0, < 3.2.0",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
          "baseScore": 6.1,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "REQUIRED",
          "scope": "CHANGED",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 2.7
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-07-09T14:21:00.657899Z",
          "id": "CVE-2026-55877",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-79"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:symfony:ux:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "2.17.0",
              "versionEndExcluding": "2.36.1",
              "matchCriteriaId": "E2A2604F-B0EF-47BF-AE62-3309CAB25272"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:symfony:ux:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "3.0.0",
              "versionEndExcluding": "3.2.0",
              "matchCriteriaId": "B83FC8DB-CA90-4E65-9D50-60F9B591D875"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/symfony/ux/commit/3a4964ec3700f0af4e13f7bfbf8bb3174c3e79d1",
      "source": "[email protected]",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://github.com/symfony/ux/releases/tag/v2.36.1",
      "source": "[email protected]",
      "tags": [
        "Release Notes"
      ]
    },
    {
      "url": "https://github.com/symfony/ux/releases/tag/v3.2.0",
      "source": "[email protected]",
      "tags": [
        "Release Notes"
      ]
    },
    {
      "url": "https://github.com/symfony/ux/security/advisories/GHSA-6v8j-33hc-mv84",
      "source": "[email protected]",
      "tags": [
        "Vendor Advisory"
      ]
    }
  ]
}