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.
Severity (CVSS)
| Base score | 3.7 |
|---|---|
| Severity | Low |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-611 — CWE-611: Improper Restriction of XML External Entity Reference
- CWE-918 — CWE-918: Server-Side Request Forgery
Affected products
| Vendor | Product | Versions |
|---|---|---|
| sparklemotion | nokogiri | < 1.19.5 [affected] |
References
- https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-v995-44v6-5fqm (x_refsource_CONFIRM)
- https://github.com/sparklemotion/nokogiri/pull/3752 (x_refsource_MISC)
- https://github.com/sparklemotion/nokogiri/commit/97f41b65f4ee0cac859b87f0b26d2648c4806cb8 (x_refsource_MISC)
- https://github.com/sparklemotion/nokogiri/commit/e448ca2827a9198644610fb730259e12baacdeac (x_refsource_MISC)
- https://github.com/sparklemotion/nokogiri/releases/tag/v1.19.5 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 11 Nov 2026 08:04 UTC.