CVE-2026-73490: Loofah: SVG `href` attribute bypasses local-reference restriction

Published Aug 12, 2026
·
Updated

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.

Affected Software

1 affected component
Loofah<2.25.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Loofah to a version that resolves this vulnerability.

    Fixed in 2.25.2

Event History

Aug 12, 2026
CVE Published
via MITRE·08:58 PM
Data Sourced
via MITRE·08:58 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-73490?

The severity of CVE-2026-73490 is medium with a score of 4.7.

2

How do I fix CVE-2026-73490?

To fix CVE-2026-73490, upgrade to Loofah version 2.25.2 or later.

3

What is the risk associated with CVE-2026-73490?

CVE-2026-73490 poses a risk level of 31 due to its potential for XSS exploits.

4

What component of Loofah is affected by CVE-2026-73490?

CVE-2026-73490 affects the handling of the SVG href attribute in Loofah's HTML5 sanitizer.

5

What type of vulnerability is CVE-2026-73490 classified as?

CVE-2026-73490 is classified as a Cross-Site Scripting (XSS) vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203