Shellfeed logo Shellfeed

CVE-2026-126062 · LOW (CVSS 3.7)

Summary: Nokogiri : Possible SSRF on JRuby when resolving external DTDs or entities with `NONET` set

EPSS: 0.4% probability of exploitation in the next 30 days (percentile 32.5).

Details

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

LOW (CVSS 3.7) — vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected packages

  • RubyGems nokogiri [0 – 1.19.5]
  • GIT github.com/sparklemotion/nokogiri [0 – 724ef475332fb7378111e8e30d14eda6cdf33b1e]

References

Posts about CVE-2026-126062