CVE-2026-126062
Nokogiri : Possible SSRF on JRuby when resolving external DTDs or entities with `NONET` set
CVSS Score
3.7
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-611 CWE-918 |
| Vendor | sparklemotion |
| Product | nokogiri |
| Published | Nov 10, 2026 |
Stay Ahead of the Next One
Get instant alerts for sparklemotion nokogiri
Be the first to know when new low vulnerabilities affecting sparklemotion nokogiri are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
Affected Versions
sparklemotion / nokogiri
< 1.19.5
References
github.com: https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-v995-44v6-5fqm github.com: https://github.com/sparklemotion/nokogiri/pull/3752 github.com: https://github.com/sparklemotion/nokogiri/commit/97f41b65f4ee0cac859b87f0b26d2648c4806cb8 github.com: https://github.com/sparklemotion/nokogiri/commit/e448ca2827a9198644610fb730259e12baacdeac github.com: https://github.com/sparklemotion/nokogiri/releases/tag/v1.19.5