Nokogiri : Possible SSRF on JRuby when resolving external DTDs or entities with `NONET` set
Summary
| CVE | CVE-2026-126062 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-10 20:19:10 UTC |
| Updated | 2026-11-10 20:19:10 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 3.7 LOW from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Problem Types: CWE-611 | CWE-918 | CWE-611 CWE-611: Improper Restriction of XML External Entity Reference | CWE-918 CWE-918: Server-Side Request Forgery
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 3.7 | LOW | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| 3.1 | CNA | DECLARED | 3.7 | LOW | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Sparklemotion | Nokogiri | affected < 1.19.5 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/sparklemotion/nokogiri/security/advisories/GHSA-v995-44v6-5fqm | [email protected] | github.com | |
| github.com/sparklemotion/nokogiri/commit/e448ca2827a9198644610fb730259e1... | [email protected] | github.com | |
| github.com/sparklemotion/nokogiri/releases/tag/v1.19.5 | [email protected] | github.com | |
| github.com/sparklemotion/nokogiri/commit/97f41b65f4ee0cac859b87f0b26d264... | [email protected] | github.com | |
| github.com/sparklemotion/nokogiri/pull/3752 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.