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

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2026-11-10T20:11:46.316Z
- Modified: 2026-11-12T22:09:39.233Z
- Also known as: GHSA-v995-44v6-5fqm
- Weaknesses: CWE-611, CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- sparklemotion nokogiri: < 1.19.5
- nokogiri (RubyGems): before 1.19.5

## Every score

- GitHub_M: 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`
- GitHub: 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`

## References

- <https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-v995-44v6-5fqm> (web)
- <https://github.com/sparklemotion/nokogiri/pull/3752> (web)
- <https://github.com/sparklemotion/nokogiri/commit/97f41b65f4ee0cac859b87f0b26d2648c4806cb8> (web)
- <https://github.com/sparklemotion/nokogiri/commit/e448ca2827a9198644610fb730259e12baacdeac> (web)
- <https://github.com/sparklemotion/nokogiri/releases/tag/v1.19.5> (web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/GHSA-v995-44v6-5fqm.yml> (web)
- <https://github.com/sparklemotion/nokogiri> (package)

## Sources

- CVE List: [CVE-2026-126062](https://www.cve.org/CVERecord?id=CVE-2026-126062), CVE Terms of Use, modified 2026-11-12
- GitHub Advisory Database: [GHSA-v995-44v6-5fqm](https://github.com/advisories/GHSA-v995-44v6-5fqm), CC-BY-4.0, modified 2026-11-10
- NVD: [CVE-2026-126062](https://nvd.nist.gov/vuln/detail/CVE-2026-126062), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-126062 · Whole record: https://cve.day/CVE-2026-126062.json · Rebuilt by cve.day 2026-11-25T22:59:50.219Z
