Каталог CVE

CVE-2026-126203

ruby-nokogiri affected and fixed versions

[Каталог CVE]

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 / releasePackageVersionStatusSource
Debiansidruby-nokogiri1.19.7+dfsg-1FixedDistribution-reported fixed boundary[CVE-2026-126203]
Debianforkyruby-nokogiri1.19.7+dfsg-1FixedDistribution-reported fixed boundary[CVE-2026-126203]
More observations (16)
Distribution / releasePackageVersionStatusSource
Debianbookwormruby-nokogiriNot reportedAffectedDistribution reports no fix[CVE-2026-126203]
Debianbookwormruby-nokogiri1.13.10+dfsg-2Affected[CVE-2026-126203]
Debiantrixieruby-nokogiriNot reportedAffectedDistribution reports no fix[CVE-2026-126203]
Debiantrixieruby-nokogiri1.18.2+dfsg-1Affected[CVE-2026-126203]
Ubuntu24.04ruby-loofah2.21.3-1Affected[UBUNTU-CVE-2026-126203]
Ubuntu24.04ruby-loofah2.21.4-1Affected[UBUNTU-CVE-2026-126203]
Ubuntu24.04ruby-loofah2.22.0-1Affected[UBUNTU-CVE-2026-126203]
Ubuntu26.04ruby-loofah2.24.1-1Affected[UBUNTU-CVE-2026-126203]
Ubuntu26.04ruby-loofah2.25.0-1Affected[UBUNTU-CVE-2026-126203]
Ubuntu26.10ruby-loofah2.25.0-1Affected[UBUNTU-CVE-2026-126203]
Ubuntu26.10ruby-loofah2.25.1-2Affected[UBUNTU-CVE-2026-126203]
Ubuntu26.10ruby-loofah2.25.2-1Affected[UBUNTU-CVE-2026-126203]
Ubuntuproruby-loofah2.12.0-1Affected[UBUNTU-CVE-2026-126203]
Ubuntuproruby-loofah2.13.0-1Affected[UBUNTU-CVE-2026-126203]
Ubuntuproruby-loofah2.13.0-2Affected[UBUNTU-CVE-2026-126203]
Ubuntuproruby-loofah2.13.0-2ubuntu0.1~esm1Affected[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

Спостережено:

Посилання