CVE-2026-126062: low-severity vulnerability in sparklemotion nokogiri
Nokogiri : Possible SSRF on JRuby when resolving external DTDs or entities with `NONET` set
Published
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
5Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 3.7
Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.5, on JRuby, applications that parse untrusted XML with DTDLOAD, DTDVALID, or NOENT can have the NONET restriction bypassed when an external DTD or entity uses a short-form IPv4 host or uses absolute paths resolved against a network URL. The resolver can treat these identifiers as local and send a network request, potentially enabling server-side request forgery. CRuby and default parse options are not affected. This issue is fixed in version 1.19.5.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected products
sparklemotion · nokogiriRelated CVEs — sparklemotion nokogiri
In the same product, most dangerous first.
CVE-2022-24836HIGHInefficient Regular Expression Complexity in NokogiriEPSS 3.5%CVE-2022-29181HIGHImproper Handling of Unexpected Data Type in NokogiriEPSS 3.2%CVE-2022-23476HIGHUnchecked return value from xmlTextReaderExpand in NokogiriEPSS 1.8%CVE-2021-41098HIGHImproper Restriction of XML External Entity Reference (XXE) in Nokogiri on JRubyEPSS 1.5%CVE-2020-26247LOWXXE in NokogiriEPSS 1.2%CVE-2026-79770HIGHNokogiri before 1.19.3 ReDoS via CSS selector tokenizerEPSS 0.5%
References
https://github.com/sparklemotion/nokogiri/commit/97f41b65f4ee0cac859b87f0b26d2648c4806cb8https://github.com/sparklemotion/nokogiri/commit/e448ca2827a9198644610fb730259e12baacdeachttps://github.com/sparklemotion/nokogiri/pull/3752https://github.com/sparklemotion/nokogiri/releases/tag/v1.19.5https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-v995-44v6-5fqm