| CVE-2026-73492 | BAJO2.3 | Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. From 2.25.0 until 2.25.2, Loofah::HTML5::Scrub.allowed_uri? does not reject javascript: or vbscript: URIs whose scheme is split by semicolon-less numeric character references such as :, 	, 
 | 12/08/2026 |
| CVE-2026-73491 | BAJO2.3 | Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. From 2.25.0 until 2.25.2, Loofah::HTML5::Scrub.allowed_uri? does not reject javascript: URIs whose scheme is split or prefixed with the HTML5 named whitespace character references 	 or 
 | 12/08/2026 |
| CVE-2026-73490 | MEDIO4.7 | 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 attribut | 12/08/2026 |
| GHSA-2j22-pr5w-6gq8 | BAJO | Loofah has improper detection of disallowed URIs via `allowed_uri?` | 26/03/2026 |
| GHSA-46fp-8f5p-pf2m | BAJO | Improper detection of disallowed URIs by Loofah `allowed_uri?` | 18/03/2026 |
| CVE-2022-23516 | ALTO7.5 | Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah >= 2.2.0, < 2.19.1 uses recursion for sanitizing CDATA sections, making it susceptible to stack exhaustion and raising a SystemStackError exception. This may lead to a denial of service thro | 14/12/2022 |
| CVE-2022-23515 | MEDIO6.1 | Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah >= 2.1.0, < 2.19.1 is vulnerable to cross-site scripting via the image/svg+xml media type in data URIs. This issue is patched in version 2.19.1. | 14/12/2022 |
| CVE-2022-23514 | ALTO7.5 | Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah < 2.19.1 contains an inefficient regular expression that is susceptible to excessive backtracking when attempting to sanitize certain SVG attributes. This may lead to a denial of service thro | 14/12/2022 |
| CVE-2019-15587 | MEDIO5.4 | In the Loofah gem for Ruby through v2.3.0 unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished. | 22/10/2019 |
| CVE-2018-16468 | MEDIO5.4 | In the Loofah gem for Ruby, through v2.2.2, unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished. | 30/10/2018 |
| CVE-2018-8048 | MEDIO6.1 | In the Loofah gem through 2.2.0 for Ruby, non-whitelisted HTML attributes may occur in sanitized output by republishing a crafted HTML fragment. | 27/03/2018 |