
Каталог CVE
CVE-2026-126203
ruby-nokogiri 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.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.
- Критичність
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.27% · 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-nokogiri | 1.19.7+dfsg-1 | FixedDistribution-reported fixed boundary | [CVE-2026-126203] |
| Debianforky | ruby-nokogiri | 1.19.7+dfsg-1 | FixedDistribution-reported fixed boundary | [CVE-2026-126203] |
More observations (16)
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | ruby-nokogiri | Not reported | AffectedDistribution reports no fix | [CVE-2026-126203] |
| Debianbookworm | ruby-nokogiri | 1.13.10+dfsg-2 | Affected | [CVE-2026-126203] |
| Debiantrixie | ruby-nokogiri | Not reported | AffectedDistribution reports no fix | [CVE-2026-126203] |
| Debiantrixie | ruby-nokogiri | 1.18.2+dfsg-1 | Affected | [CVE-2026-126203] |
| Ubuntu24.04 | ruby-loofah | 2.21.3-1 | Affected | [UBUNTU-CVE-2026-126203] |
| Ubuntu24.04 | ruby-loofah | 2.21.4-1 | Affected | [UBUNTU-CVE-2026-126203] |
| Ubuntu24.04 | ruby-loofah | 2.22.0-1 | Affected | [UBUNTU-CVE-2026-126203] |
| Ubuntu26.04 | ruby-loofah | 2.24.1-1 | Affected | [UBUNTU-CVE-2026-126203] |
| Ubuntu26.04 | ruby-loofah | 2.25.0-1 | Affected | [UBUNTU-CVE-2026-126203] |
| Ubuntu26.10 | ruby-loofah | 2.25.0-1 | Affected | [UBUNTU-CVE-2026-126203] |
| Ubuntu26.10 | ruby-loofah | 2.25.1-2 | Affected | [UBUNTU-CVE-2026-126203] |
| Ubuntu26.10 | ruby-loofah | 2.25.2-1 | Affected | [UBUNTU-CVE-2026-126203] |
| Ubuntupro | ruby-loofah | 2.12.0-1 | Affected | [UBUNTU-CVE-2026-126203] |
| Ubuntupro | ruby-loofah | 2.13.0-1 | Affected | [UBUNTU-CVE-2026-126203] |
| Ubuntupro | ruby-loofah | 2.13.0-2 | Affected | [UBUNTU-CVE-2026-126203] |
| Ubuntupro | ruby-loofah | 2.13.0-2ubuntu0.1~esm1 | Affected | [UBUNTU-CVE-2026-126203] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ruby-nokogiri]Уражена
Пакет джерела: [ruby-nokogiri]
Подробиці (2)
1.13.10+dfsg-2+b1· amd64 · bookwormУражена
dsa · ruby-nokogiri · debian · bookworm; pypi · ruby-nokogiri · debian · 12
1.13.10+dfsg-2+b1· arm64 · bookwormУражена
dsa · ruby-nokogiri · debian · bookworm; pypi · ruby-nokogiri · debian · 12
[Debian 13 (Trixie)]
- [ruby-nokogiri]Уражена
Пакет джерела: [ruby-nokogiri]
Подробиці (2)
1.18.2+dfsg-1+b1· amd64 · trixieУражена
pypi · ruby-nokogiri · debian · 13
1.18.2+dfsg-1+b1· arm64 · trixieУражена
pypi · ruby-nokogiri · debian · 13
Спостережено:
Посилання
- [https://ftp.suse.com/pub/projects/security/]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-126203]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-126203]
- [https://security-tracker.debian.org/tracker/CVE-2026-126203]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]