Upstream information
Description
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. In 2.25.2, Loofah::HTML5::Scrub.allowed_uri? treats a data URI mediatype containing the HTML5 named solidus reference / as malformed and falls back to the allowed text/plain, while a browser decodes the reference and interprets the same value as text/html. An application that validates a user-controlled URL with this helper and renders the approved value in href or another browser-interpreted URI attribute can allow cross-site scripting. Rails::HTML::Sanitizer.allowed_uri? re-exports the affected helper. Loofah's default sanitize() path is not affected because Nokogiri decodes the entity before URI validation. 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 | SUSE |
|---|---|
| Base Score | 6.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Attack Vector | Network |
| Attack Complexity | Low |
| Privileges Required | None |
| User Interaction | Required |
| Scope | Changed |
| Confidentiality Impact | Low |
| Integrity Impact | Low |
| Availability Impact | None |
| CVSSv3 Version | 3.1 |
| CVSS detail | CNA (GitHub) |
|---|---|
| Base Score | 5.3 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| Attack Vector | Network |
| Attack Complexity | Low |
| Attack Requirements | None |
| Privileges Required | None |
| User Interaction | Passive |
| Vulnerable System Confidentiality Impact | None |
| Vulnerable System Integrity Impact | None |
| Vulnerable System Availability Impact | None |
| Subsequent System Confidentiality Impact | Low |
| Subsequent System Integrity Impact | Low |
| Subsequent System Availability Impact | None |
| CVSSv4 Version | 4.0 |
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