Description
Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, the NONET parse option, which Nokogiri turns on by default for Nokogiri::XML::Schema (see CVE-2020-26247), was not correctly enforced on the JRuby implementation. As a result, a schema parsed with default options could still cause external resources to be fetched over the network, potentially enabling SSRF or XXE attacks. This vulnerability is fixed in 1.19.4.
Severity (CVSS)
| Base score | 2.6 |
|---|---|
| Severity | Low |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-178 — CWE-178: Improper Handling of Case Sensitivity
- CWE-184 — CWE-184: Incomplete List of Disallowed Inputs
- CWE-611 — CWE-611: Improper Restriction of XML External Entity Reference
Affected products
| Vendor | Product | Versions |
|---|---|---|
| sparklemotion | nokogiri | < 1.19.4 |
References
- https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-8678-w3jw-xfc2 (x_refsource_CONFIRM)
Generated from the official CVE List on 26 Jun 2026 07:05 UTC.