CVE-2026-126063: Nokogiri: Mutation XSS through `noscript` content in Nokogiri's HTML5 serializer
sparklemotion · nokogiri
Affected: sparklemotion nokogiri · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 47% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- sparklemotion · nokogiri>= 1.12.0, < 1.19.5
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Weakness
- Cross-site Scripting
- Vendor
- sparklemotion
- Published
- November 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-126063 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-79cwe.mitre.org
- github.com/sparklemotion/nokogiri/security/advisories/GHSA-4p39-github.com
- github.com/sparklemotion/nokogiri/pull/3752github.com
- github.com/sparklemotion/nokogiri/commit/3e84df6ff7ab4d78f446e3agithub.com
- github.com/sparklemotion/nokogiri/commit/c6c0bffbdcd194694995acagithub.com
- github.com/sparklemotion/nokogiri/releases/tag/v1.19.5github.com