Upstream information
Description
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. From 2.21.0 until 2.25.3, Loofah's HTML5 APIs Loofah.html5_fragment, Loofah.html5_document, and the scrub_html5_* methods can emit sanitized output that a browser reparses as different markup when used with Nokogiri before 1.19.5, because those Nokogiri versions do not escape angle brackets in attribute values. MathML can place markup inside an allowed attribute so the reparsed output becomes live HTML. The :strip scrubber is affected in every browser, while :prune and :escape are affected in WebKit browsers. Loofah's HTML4 APIs, Loofah::Helpers.sanitize, :whitewash, rails-html-sanitizer's default configuration, and JRuby are not affected. 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 detail | CNA (GitHub) | SUSE |
|---|---|---|
| Base Score | 6.1 | 6.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Attack Vector | Network | Network |
| Attack Complexity | Low | Low |
| Privileges Required | None | None |
| User Interaction | Required | Required |
| Scope | Changed | Changed |
| Confidentiality Impact | Low | Low |
| Integrity Impact | Low | Low |
| Availability Impact | None | None |
| CVSSv3 Version | 3.1 | 3.1 |
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 2026CVE page last modified: Fri Nov 13 14:08:13 2026