cve.bz

CVE-2026-126062 Nokogiri : Possible SSRF on JRuby when resolving external DTDs or entities with `NONET` set

3.7 lowEPSS 0.4%Fix available

Low (3.7) in sparklemotion nokogiri. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in nokogiri 1.19.5.

On this page
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.

Severity

CVSS 3.1

3.7 low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
0.4% estimated probability of exploitation activity in the next 30 days; 33rd percentile. Scored 2026-11-13. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-11-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-611 Improper Restriction of XML External Entity Reference
CWE-918 Server-Side Request Forgery (SSRF)
OWASP Top 10
A01:2025 Broken Access Control, A02:2025 Security Misconfiguration
Published
Modified
Assigned by
GitHub_M (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-126062 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-126062?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-126062?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-126062 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-126062

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-126062](https://cve.bz/cve/badge/CVE-2026-126062.svg)](https://cve.bz/cve/CVE-2026-126062)

HTML:

<a href="https://cve.bz/cve/CVE-2026-126062"><img src="https://cve.bz/cve/badge/CVE-2026-126062.svg" alt="CVE-2026-126062"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
sparklemotion nokogiri< 1.19.5

Fix and patched versions

  • nokogiri (RubyGems): fixed in 1.19.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v995-44v6-5fqmRubyGemsnokogiri<1.19.51.19.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14ruby-nokogirino fix listedDEBIAN-CVE-2026-126062
Ubuntu16.04:LTS, 18.04:LTS, 24.04:LTS and 5 moreruby-nokogirino fix listedUBUNTU-CVE-2026-126062
Azure Linux3rubygem-nokogirino fix listedAZL-113335

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-221 Data Serialization External Entities Blowup
  • CAPEC-664 Server Side Request Forgery Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON