CVE-2026-126063: sparklemotion nokogiri · Cross-site Scripting
Affects sparklemotion nokogiriSource CVE Database V5
Not known to be exploited · CVSS 2.3 Low : upgrade to 1.19.5 when convenient.
Data as of 10 Nov 2026, 20:36 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 2.3 |
|---|
- Patch
- Available – fixed in 1.19.5
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.
What to do
Upgrade sparklemotion nokogiri to 1.19.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| sparklemotionnokogiri | Affected
| Fixed in
|
AI-suggested
Upgrade Nokogiri to version 1.19.5 or later, where this vulnerability is fixed. Alternatively, use the recommended workaround by setting parse_noscript_content_as_text: true to avoid the vulnerable default behavior. No other vendor advisories indicate additional mitigations or that no action is required.
Description
Nokogiri, a Ruby XML and HTML library, has a cross-site scripting (XSS) vulnerability in its HTML5 serializer for versions from 1.12.0 up to but not including 1.19.5. The issue arises because the serializer does not escape text inside noscript elements or angle brackets inside attribute values by default, allowing browsers to parse unintended markup and enabling mutation XSS. This vulnerability is fixed in version 1.19.5. JRuby is not affected as it does not implement the Nokogiri::HTML5 serializer.
References
- github.com/sparklemotion/nokogiri/security/advisories/GHSA-4p39-36wj-23h4 (opens in a new tab)
- github.com/sparklemotion/nokogiri/pull/3752 (opens in a new tab)
- github.com/sparklemotion/nokogiri/commit/3e84df6ff7ab4d78f446e3a415430bd69a055d32 (opens in a new tab)
- github.com/sparklemotion/nokogiri/commit/c6c0bffbdcd194694995acafeeed27326b0805f8 (opens in a new tab)
- github.com/sparklemotion/nokogiri/releases/tag/v1.19.5 (opens in a new tab)