Upstream information

CVE-2026-126205 at MITRE

Description

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 SVG_ALLOW_LOCAL_HREF with a regular expression whose line anchor and newline-matching whitespace cause an all-whitespace value to be rescanned from every line start. An attacker can submit an SVG reference element with a long multiline-whitespace attribute and consume CPU quadratically during sanitization. CRuby 3.1 and earlier and JRuby are affected, while CRuby 3.2 and later uses linear-time regular-expression matching. The default safelist reaches the vulnerable check without a configuration change. This issue is fixed in version 2.25.3.

SUSE information

Overall state of this security issue: Pending

This issue is currently rated as having moderate severity.

CVSS v3 Scores
CVSS detail CNA (GitHub) SUSE
Base Score 5.3 5.3
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Attack Vector Network Network
Attack Complexity Low Low
Privileges Required None None
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact None None
Integrity Impact None None
Availability Impact Low Low
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1290268 [NEW]

No SUSE Security Announcements cross referenced.


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise High Availability Extension 15 SP7 rubygem-loofah Affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Availability Extension 15 SP4 rubygem-loofah Affected
SUSE Linux Enterprise High Availability Extension 15 SP5 rubygem-loofah Affected
Products past their end of life and not receiving proactive updates anymore.
SUSE Linux Enterprise High Availability Extension 15 rubygem-loofah Affected
SUSE Linux Enterprise High Availability Extension 15 SP1 rubygem-loofah Affected
SUSE Linux Enterprise High Availability Extension 15 SP2 rubygem-loofah Affected
SUSE Linux Enterprise High Availability Extension 15 SP3 rubygem-loofah Affected
SUSE Linux Enterprise High Availability Extension 15 SP6 rubygem-loofah Affected
openSUSE Leap 15.3 rubygem-loofah Affected
openSUSE Leap 15.4 rubygem-loofah Affected
openSUSE Leap 15.5 rubygem-loofah Affected
openSUSE Leap 15.6 rubygem-loofah Affected


SUSE Timeline for this CVE

CVE page created: Fri Nov 13 14:08:13 2026
CVE page last modified: Fri Nov 13 14:08:13 2026