2.3

CVE-2026-126063: Nokogiri: Mutation XSS through `noscript` content in Nokogiri's HTML5 serializer

Awaiting analysis
AliasesGHSA-4p39-36wj-23h4CGA-77rw-5jhx-8g9wCGA-jqcp-7gjr-29p2
Published 10-11-2026Last modified 13-11-2026

Vulnerability summary

CVE-2026-126063 is a low (CVSS 2.3) vulnerability in sparklemotion nokogiri. EPSS estimates a 0.55% chance of exploitation in the next 30 days, higher than 47.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 2.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
2.3/10
010
Low · v4.0 (CVE.org)
EPSS score
0.55%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 10-11-2026
    PublishedVulnerability first disclosed.
  2. 13-11-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

8 scores · 8 sources · 1 version

EPSS trend

Probability

0.55%

Chance of exploitation in the next 30 days

Percentile

48%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

11-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard35 products
  • commercial-gitlab-rails-ee-fips-19.1All versions (No fix recorded)
  • gitlab-rails-ce-18.10All versions (No fix recorded)
  • gitlab-rails-ce-18.9All versions (No fix recorded)
  • gitlab-rails-ce-19.0All versions (No fix recorded)
  • gitlab-rails-ce-19.1All versions (No fix recorded)
Wolfi5 products
  • logstash-9.3All versions (No fix recorded)
  • logstash-9.3-iamguarded-compatAll versions (No fix recorded)
  • logstash-9.4All versions (No fix recorded) | < 9.4.9-r1
  • logstash-9.4-iamguarded-compatAll versions (No fix recorded) | < 9.4.9-r1
  • ruby3.4-kube-logging-operator-fluentd-outputsAll versions (No fix recorded) | < 6.9.0-r13
Alpine1 product
  • ruby-nokogiri< 1.19.7-r0
Debian1 product
  • ruby-nokogiriAll versions (No fix recorded) | < 1.19.7+dfsg-1
RubyGems1 product
  • nokogiri≥ 1.12.0, < 1.19.5
Sparklemotion1 product
Ubuntu1 product
  • ruby-nokogiriAll versions (No fix recorded)

7 vendors · 45 products

References

13 links
Show all 13 references