Catálogo de CVE

CVE-2026-126208

ruby-loofah affected and fixed versions

[Catálogo de CVE]

Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Prior to 2.25.3, Loofah's SVG_ALLOW_LOCAL_HREF safelist lists textPath with lowercase spelling that does not match the HTML5 parser's element name and omits mpath, so external href and xlink:href values on those elements survive sanitization. Firefox fetches the attacker-chosen URL when a viewer renders the content, which can disclose the viewer's IP address, user agent, referrer, and access to hosts routable only from the viewer's network. Chrome and WebKit do not fetch these references, and the impact is a network request rather than script execution. The rails-html-sanitizer PermitScrubber reuses the affected safelist when SVG elements are permitted. This issue is fixed in version 2.25.3.

Gravidade
Medium
Published
Source
[NVD] · [CVE record]
EPSS
0.36% · 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-loofah2.25.3-1FixedDistribution-reported fixed boundary[CVE-2026-126208]
Debianforkyruby-loofah2.25.3-1FixedDistribution-reported fixed boundary[CVE-2026-126208]
More observations (16)
Distribution / releasePackageVersionStatusSource
Debianbookwormruby-loofahNot reportedAffectedDistribution reports no fix[CVE-2026-126208]
Debianbookwormruby-loofah2.19.1-1Affected[CVE-2026-126208]
Debiantrixieruby-loofahNot reportedAffectedDistribution reports no fix[CVE-2026-126208]
Debiantrixieruby-loofah2.24.0-1Affected[CVE-2026-126208]
Ubuntu24.04ruby-loofah2.21.3-1Affected[UBUNTU-CVE-2026-126208]
Ubuntu24.04ruby-loofah2.21.4-1Affected[UBUNTU-CVE-2026-126208]
Ubuntu24.04ruby-loofah2.22.0-1Affected[UBUNTU-CVE-2026-126208]
Ubuntu26.04ruby-loofah2.24.1-1Affected[UBUNTU-CVE-2026-126208]
Ubuntu26.04ruby-loofah2.25.0-1Affected[UBUNTU-CVE-2026-126208]
Ubuntu26.10ruby-loofah2.25.0-1Affected[UBUNTU-CVE-2026-126208]
Ubuntu26.10ruby-loofah2.25.1-2Affected[UBUNTU-CVE-2026-126208]
Ubuntu26.10ruby-loofah2.25.2-1Affected[UBUNTU-CVE-2026-126208]
Ubuntuproruby-loofah2.12.0-1Affected[UBUNTU-CVE-2026-126208]
Ubuntuproruby-loofah2.13.0-1Affected[UBUNTU-CVE-2026-126208]
Ubuntuproruby-loofah2.13.0-2Affected[UBUNTU-CVE-2026-126208]
Ubuntuproruby-loofah2.13.0-2ubuntu0.1~esm1Affected[UBUNTU-CVE-2026-126208]

Publisher notes

[trixie] ruby-loofah: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [ruby-loofah]Afetada
    Detalhes (2)
    • 2.19.1-1 · all · bookworm

      Afetada

      dsa · ruby-loofah · debian · bookworm; pypi · ruby-loofah · debian · 12

    • 2.19.1-1 · all · bookworm

      Afetada

      dsa · ruby-loofah · debian · bookworm; pypi · ruby-loofah · debian · 12

[Debian 13 (Trixie)]

  • [ruby-loofah]Afetada
    Detalhes (2)
    • 2.24.0-1 · all · trixie

      Afetada

      pypi · ruby-loofah · debian · 13

    • 2.24.0-1 · all · trixie

      Afetada

      pypi · ruby-loofah · debian · 13

Observado:

Referências