CVE-2026-73490
mediumPriorität · verfolgen · 0EPSS 0.003 · 22. PerzentilEUUSEPSS · bewertet 2026-10-26
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Prior to 2.25.2, Loofah's HTML5 sanitizer applies its local-reference restriction only to the xlink:href attribute on SVG use and feImage elements, while browsers also accept the plain href attribute. A crafted sanitized SVG can therefore reference an arbitrary same-origin external document; use may render external SVG content containing scripts or other dangerous content, and feImage may load external images for tracking. Applications that sanitize user-supplied SVG with Loofah's default allowlist are affected. This issue is fixed in version 2.25.2.
cvss
Technischer Schweregrad, 0–10. Eine Zeile je Quelle.
Basiswert 0–10 · höher = schwerwiegender · Vektor überfahren zum Auflösen
SSVC
Eine Handlungsentscheidung — aus Ausnutzung und Auswirkung.
schwächen
Die CWE-Schwächeklassen, zu denen dies gehört.
betroffene Produkte (2)
Betroffene Produkte und Versionsbereiche.
Advisories (1)
Hersteller- und Ökosystem-Meldungen dazu.
- GHSA-9wjq-cp2p-hrgfLoofah: SVG `href` attribute bypasses local-reference restriction2026-07-21ghsa · osvUS
## Summary Loofah's HTML5 sanitizer restricted only the `xlink:href` attribute on certain SVG elements to local, same-document references. Browsers also accept a plain `href` attribute as an alternative to the deprecated `xlink:href` per the SVG 2 spec, but Loofah did not apply the same restriction to it, allowing those elements to reference arbitrary external documents. ## Impact SVG `<use>` can load and render external SVG content by reference. If the referenced external SVG is same-origin and contains scripts or other dangerous content, it could execute in the context of the sanitized document. `<feImage>` can load external images, which can be used for tracking. Modern browsers restrict cross-origin `<use>` fetches, which limits but does not eliminate the risk. Applications that sanitize user-supplied SVG (directly, or as part of HTML) with Loofah's default allowlist are affected. ## Mitigation Upgrade to Loofah >= 2.25.2. ## Credit Found by the maintainer, Mike Dalessio, during a security audit.
auch bekannt als (2)
Weitere Namen und Kennungen dieser Entität.
quellen
Welche Quellen diesen Datensatz belegen und wann.
Referenzen (13)
Externe Belege — Patches, Meldungen, Analysen.
- https://github.com/flavorjones/loofah/commit/20867b9be689521887364b74822c41ef830523c9cnnvd
- https://github.com/flavorjones/loofah/pull/308cnnvd
- https://github.com/flavorjones/loofah/releasesPatchcnnvd
- https://github.com/flavorjones/loofah/releases/tag/v2.25.2cnnvd
- https://github.com/flavorjones/loofah/security/advisories/GHSA-9wjq-cp2p-hrgfcnnvd
- https://github.com/flavorjones/loofah/commit/20867b9be689521887364b74822c41ef830523c9enisa_euvd
- https://github.com/flavorjones/loofah/pull/308enisa_euvd
- https://github.com/flavorjones/loofah/releases/tag/v2.25.2enisa_euvd
Angreifer nutzen Schwachstellen wie diese gegen im Internet exponierte Dienste aus. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan