4 matches found
Loofah: Regular expression denial of service in the SVG local-reference check
Summary Loofah's HTML5 sanitizer restricts the href and xlink:href attributes of SVG reference elements to local references. That check matched the attribute value against /^\s^\s./m. In Ruby ^ anchors to every line start and \s matches newlines, so an all-whitespace value made the engine rescan...
CVE-2026-126205
The Loofah library, a tool for manipulating HTML/XML documents, is vulnerable to a Regular Expression Denial of Service (ReDoS) in its HTML5 sanitizer. Prior to version 2.25.3 , the sanitizer uses a regular expression to check href and xlink:href attributes on elements within SVG_ALLOW_LOCAL_HREF...
CVE-2026-126205 Loofah: Regular expression denial of service in the SVG local-reference check
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Prior to 2.25.3, the Loofah HTML5 sanitizer checks href and xlink:href on elements in SVGALLOWLOCALHREF with a regular expression whose line anchor and newline-matching...
CVE-2026-126205 Loofah: Regular expression denial of service in the SVG local-reference check
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Prior to 2.25.3, the Loofah HTML5 sanitizer checks href and xlink:href on elements in SVGALLOWLOCALHREF with a regular expression whose line anchor and newline-matching...