
CVE-Katalog
CVE-2026-126063
ruby-nokogiri affected and fixed versions
Nokogiri is an open source XML and HTML library for the Ruby programming language. From 1.12.0 until 1.19.5, the C extension on CRuby and TruffleRuby has a Nokogiri::HTML5 serializer that does not escape text inside noscript elements or angle brackets inside attribute values. When an application sanitizes untrusted HTML with the default parsing options, allows noscript, and sends serialized output to a scripting-enabled browser, the browser can parse markup that Nokogiri did not produce, enabling mutation cross-site scripting. Using parse_noscript_content_as_text: true is the recommended workaround, not the vulnerable default. JRuby is not affected because it does not implement Nokogiri::HTML5. This issue is fixed in version 1.19.5.
- Schweregrad
- Medium · CVSS 4.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.55% · 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-126063] |
| Debianforky | ruby-nokogiri | 1.19.7+dfsg-1 | FixedDistribution-reported fixed boundary | [CVE-2026-126063] |
| Alpine3.25 | ruby-nokogiri | 1.19.7-r0 | Fixed | [ALPINE-CVE-2026-126063] |
More observations (20)
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | ruby-nokogiri | Not reported | AffectedDistribution reports no fix | [CVE-2026-126063] |
| Debianbookworm | ruby-nokogiri | 1.13.10+dfsg-2 | Affected | [CVE-2026-126063] |
| Debiantrixie | ruby-nokogiri | Not reported | AffectedDistribution reports no fix | [CVE-2026-126063] |
| Debiantrixie | ruby-nokogiri | 1.18.2+dfsg-1 | Affected | [CVE-2026-126063] |
| Ubuntu24.04 | ruby-nokogiri | 1.14.3+dfsg-2 | Affected | [UBUNTU-CVE-2026-126063] |
| Ubuntu24.04 | ruby-nokogiri | 1.16.2+dfsg-1 | Affected | [UBUNTU-CVE-2026-126063] |
| Ubuntu24.04 | ruby-nokogiri | 1.16.2+dfsg-1build1 | Affected | [UBUNTU-CVE-2026-126063] |
| Ubuntu26.04 | ruby-nokogiri | 1.18.10+dfsg-2 | Affected | [UBUNTU-CVE-2026-126063] |
| Ubuntu26.04 | ruby-nokogiri | 1.18.10+dfsg-3 | Affected | [UBUNTU-CVE-2026-126063] |
| Ubuntu26.04 | ruby-nokogiri | 1.18.2+dfsg-1build1 | Affected | [UBUNTU-CVE-2026-126063] |
| Ubuntu26.10 | ruby-nokogiri | 1.18.10+dfsg-3 | Affected | [UBUNTU-CVE-2026-126063] |
| Ubuntu26.10 | ruby-nokogiri | 1.19.1+dfsg-1 | Affected | [UBUNTU-CVE-2026-126063] |
| Ubuntu26.10 | ruby-nokogiri | 1.19.3+dfsg-1 | Affected | [UBUNTU-CVE-2026-126063] |
| Ubuntu26.10 | ruby-nokogiri | 1.19.4+dfsg-1 | Affected | [UBUNTU-CVE-2026-126063] |
| Ubuntupro | ruby-nokogiri | 1.11.1+dfsg-2ubuntu1 | Affected | [UBUNTU-CVE-2026-126063] |
| Ubuntupro | ruby-nokogiri | 1.11.7+dfsg-3 | Affected | [UBUNTU-CVE-2026-126063] |
| Ubuntupro | ruby-nokogiri | 1.11.7+dfsg-3build1 | Affected | [UBUNTU-CVE-2026-126063] |
| Ubuntupro | ruby-nokogiri | 1.13.1+dfsg-2 | Affected | [UBUNTU-CVE-2026-126063] |
| Ubuntupro | ruby-nokogiri | 1.13.1+dfsg-2ubuntu0.1~esm1 | Affected | [UBUNTU-CVE-2026-126063] |
| Ubuntupro | ruby-nokogiri | 1.13.1+dfsg-2ubuntu0.1~esm2 | Affected | [UBUNTU-CVE-2026-126063] |
Publisher notes
[bookworm] ruby-nokogiri: Low CNA severity
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ruby-nokogiri]Betroffen
Quellpaket: [ruby-nokogiri]
Details (2)
1.13.10+dfsg-2+b1· amd64 · bookwormBetroffen
dsa · ruby-nokogiri · debian · bookworm; pypi · ruby-nokogiri · debian · 12
1.13.10+dfsg-2+b1· arm64 · bookwormBetroffen
dsa · ruby-nokogiri · debian · bookworm; pypi · ruby-nokogiri · debian · 12
[Debian 13 (Trixie)]
- [ruby-nokogiri]Betroffen
Quellpaket: [ruby-nokogiri]
Details (2)
1.18.2+dfsg-1+b1· amd64 · trixieBetroffen
pypi · ruby-nokogiri · debian · 13
1.18.2+dfsg-1+b1· arm64 · trixieBetroffen
pypi · ruby-nokogiri · debian · 13
Beobachtet:
Referenzen
- [https://ftp.suse.com/pub/projects/security/]
- [https://github.com/sparklemotion/nokogiri/commit/3e84df6ff7ab4d78f446e3a415430bd69a055d32]
- [https://github.com/sparklemotion/nokogiri/commit/c6c0bffbdcd194694995acafeeed27326b0805f8]
- [https://github.com/sparklemotion/nokogiri/pull/3752]
- [https://github.com/sparklemotion/nokogiri/releases/tag/v1.19.5]
- [https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-4p39-36wj-23h4]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-126063]
- [https://osv.dev/vulnerability/ALPINE-CVE-2026-126063]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-126063]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-126063]
- [https://security-tracker.debian.org/tracker/CVE-2026-126063]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-126063.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]