CVE-2026-126062

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

  • Low 3.7

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.

Key facts

Published
10 Nov 2026
Last changed
12 Nov 2026
Assigned by
GitHub_M
EPSS
0.38% likely to be exploited in the next 30 days, higher than 32.532% of CVEs (scores for 15 Nov 2026)
SSVC (CISA)
Exploitation: none; Automatable: no; Technical impact: partial

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 3.7CVSS 3.1, Lowfrom the CNA (GitHub_M)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
sparklemotionnokogiri
  • < 1.19.5 (affected)

Timeline

  1. 10 Nov 2026 Published

Weakness

Practice this bug class

HackZoneLabs has a hands-on lab on XXE (CWE-611).

References