CVE Catalog

CVE-2026-126062

LowCVSS 3.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.38%

34th percentile - higher than 34% of all known CVEs

Summary

In Nokogiri on JRuby, applications parsing 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 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.

Risk Assessment

JRuby applications parsing untrusted XML with DTD options enabled may be exposed to server-side request forgery.

Recommendation

Update Nokogiri to version 1.19.5 or later.

Other vulnerabilities in Nokogiri

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS