
Каталог CVE
CVE-2026-126209
ruby-loofah affected and fixed versions
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.3, Loofah::HTML5::Scrub.allowed_uri? strips whitespace and control characters before decoding a semicolon-less numeric character reference, changing where the reference ends and hiding a javascript: or vbscript: scheme that a browser reconstructs. The bypass applies to encoded colons and encoded scheme letters when a stripped character terminates the numeric reference. An application that renders the approved value in href or another browser-interpreted URI attribute can allow cross-site scripting, and Rails::HTML::Sanitizer.allowed_uri? re-exports the affected helper. Loofah's default sanitize() path is not affected because Nokogiri decodes entities before URI evaluation. This issue is fixed in version 2.25.3.
- Критичність
- Medium · CVSS 4.0 · 5.3
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 - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.44% · Dec 4, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiansid | ruby-loofah | 2.25.3-1 | FixedDistribution-reported fixed boundary | [CVE-2026-126209] |
| Debianforky | ruby-loofah | 2.25.3-1 | FixedDistribution-reported fixed boundary | [CVE-2026-126209] |
More observations (16)
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | ruby-loofah | Not reported | AffectedDistribution reports no fix | [CVE-2026-126209] |
| Debianbookworm | ruby-loofah | 2.19.1-1 | Affected | [CVE-2026-126209] |
| Debiantrixie | ruby-loofah | Not reported | AffectedDistribution reports no fix | [CVE-2026-126209] |
| Debiantrixie | ruby-loofah | 2.24.0-1 | Affected | [CVE-2026-126209] |
| Ubuntu24.04 | ruby-loofah | 2.21.3-1 | Affected | [UBUNTU-CVE-2026-126209] |
| Ubuntu24.04 | ruby-loofah | 2.21.4-1 | Affected | [UBUNTU-CVE-2026-126209] |
| Ubuntu24.04 | ruby-loofah | 2.22.0-1 | Affected | [UBUNTU-CVE-2026-126209] |
| Ubuntu26.04 | ruby-loofah | 2.24.1-1 | Affected | [UBUNTU-CVE-2026-126209] |
| Ubuntu26.04 | ruby-loofah | 2.25.0-1 | Affected | [UBUNTU-CVE-2026-126209] |
| Ubuntu26.10 | ruby-loofah | 2.25.0-1 | Affected | [UBUNTU-CVE-2026-126209] |
| Ubuntu26.10 | ruby-loofah | 2.25.1-2 | Affected | [UBUNTU-CVE-2026-126209] |
| Ubuntu26.10 | ruby-loofah | 2.25.2-1 | Affected | [UBUNTU-CVE-2026-126209] |
| Ubuntupro | ruby-loofah | 2.12.0-1 | Affected | [UBUNTU-CVE-2026-126209] |
| Ubuntupro | ruby-loofah | 2.13.0-1 | Affected | [UBUNTU-CVE-2026-126209] |
| Ubuntupro | ruby-loofah | 2.13.0-2 | Affected | [UBUNTU-CVE-2026-126209] |
| Ubuntupro | ruby-loofah | 2.13.0-2ubuntu0.1~esm1 | Affected | [UBUNTU-CVE-2026-126209] |
Publisher notes
[trixie] ruby-loofah: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ruby-loofah]Уражена
Подробиці (2)
2.19.1-1· all · bookwormУражена
dsa · ruby-loofah · debian · bookworm; pypi · ruby-loofah · debian · 12
2.19.1-1· all · bookwormУражена
dsa · ruby-loofah · debian · bookworm; pypi · ruby-loofah · debian · 12
[Debian 13 (Trixie)]
- [ruby-loofah]Уражена
Подробиці (2)
2.24.0-1· all · trixieУражена
pypi · ruby-loofah · debian · 13
2.24.0-1· all · trixieУражена
pypi · ruby-loofah · debian · 13
Спостережено:
Посилання
- [https://ftp.suse.com/pub/projects/security/]
- [https://github.com/flavorjones/loofah/commit/62c04841e8252a1b5373afcd2b89fb9b8279e317]
- [https://github.com/flavorjones/loofah/pull/324]
- [https://github.com/flavorjones/loofah/releases/tag/v2.25.3]
- [https://github.com/flavorjones/loofah/security/advisories/GHSA-p9wj-w8xq-vjx6]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-126209]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-126209]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-126209]
- [https://security-tracker.debian.org/tracker/CVE-2026-126209]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]