CVE-2026-126063
Last modified
CVE-2026-126063 is a low-severity vulnerability rated 2.3/10 on the CVSS scale. 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. EPSS estimates a 0.56% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| sparklemotion | nokogiri | >= 1.12.0, < 1.19.5 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-126063?
How severe is CVE-2026-126063?
How do I fix CVE-2026-126063?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12605In Eclipse GlassFish versions 8.0.x before 8.0.4, CSRF + SSR…9.6
- CVE-2026-126050apitrace 2.0 through 14.0 contains a heap-based buffer overf…7.8
- CVE-2026-126051A deferred-callback use-after-destroy in Node.js TLS server …7.5
- CVE-2026-12606Eclipse Grizzly in versions before 5.0.2, cannot properly pa…5.3
- CVE-2026-126061Winter CMS is a content management system built on the Larav…4.3
- CVE-2026-126062Nokogiri is an open source XML and HTML library for the Ruby…3.7
- CVE-2026-126064Nokogiri is an open source XML and HTML library for the Ruby…2
- CVE-2026-126065OpenObserve is a cloud-native observability platform. Prior …9.8
- CVE-2026-126066fast-xml-parser allows users to process XML from JS object w…3.7
- CVE-2026-126067Action Pack is a framework for handling and responding to we…3.1
- CVE-2026-126068Action Mailbox routes incoming emails to controller-like mai…3.7
- CVE-2026-126069Action View is a framework for handling view template lookup…4.7
Are you affected by CVE-2026-126063?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
