CVE-2026-126062: Nokogiri : Possible SSRF on JRuby when resolving external DTDs or entities with `NONET` set
Vulnerability summary
CVE-2026-126062 is a low (CVSS 3.7) vulnerability in sparklemotion nokogiri. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 34.1% of scored vulnerabilities.
Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 10-11-2026PublishedVulnerability first disclosed.
- 12-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- NVDNIST3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · RubygemsEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · DebianEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · WolfiEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
0.38%
Chance of exploitation in the next 30 days
Percentile
34%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-611Improper Restriction of XML External Entity ReferenceThe product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.
- CWE-918Server-Side Request ForgeryThe web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard36 products
- commercial-gitlab-rails-ee-19.1All versions (No fix recorded)
- commercial-gitlab-rails-ee-fips-19.1All versions (No fix recorded)
- gitlab-rails-ce-18.10All versions (No fix recorded)
- gitlab-rails-ce-18.8All versions (No fix recorded)
- gitlab-rails-ce-18.9All versions (No fix recorded)
Wolfi5 products
- logstash-9.3All versions (No fix recorded)
- logstash-9.3-iamguarded-compatAll versions (No fix recorded)
- logstash-9.4All versions (No fix recorded) | < 9.4.9-r1
- logstash-9.4-iamguarded-compatAll versions (No fix recorded) | < 9.4.9-r1
- ruby3.4-kube-logging-operator-fluentd-outputsAll versions (No fix recorded) | < 6.9.0-r13
Debian1 product
- ruby-nokogiriAll versions (No fix recorded) | < 1.19.7+dfsg-1
RubyGems1 product
- nokogiri< 1.19.5
Sparklemotion1 product
- nokogiri< 1.19.5
Ubuntu1 product
- ruby-nokogiriAll versions (No fix recorded)
6 vendors · 45 products
References
12 links- github.com/sparklemotion/nokogiri/security/advisories/GHSA-v995-44v6-5fqmX Refsource CONFIRMWEBAdvisoryREPORT
- github.com/sparklemotion/nokogiri/commit/97f41b65f4ee0cac859b87f0b26d2648c4806cb8X Refsource MISCWEBFIXREPORT
- github.com/sparklemotion/nokogiri/commit/e448ca2827a9198644610fb730259e12baacdeacX Refsource MISCWEBFIXREPORT