cve-2026-57234
LOW CVSS 2.6 nvd
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.
Timeline
- Published
- 2026-06-25
- Last Modified
- 2026-10-25
CVSS Details
- Attack Vector
- NETWORK
- Attack Complexity
- HIGH
- Privileges Required
- LOW
Affected Products
- nokogiri nokogiri
CVSS metrics
| Version | Base | Severity | Vector | Exploitability | Impact | Source |
|---|---|---|---|---|---|---|
| 3.1 | 2.6 | LOW | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N |
1.2 | 1.4 | security-advisories@github.com |
CPE configurations
OR
| CPE | Version range | Vulnerable |
|---|---|---|
cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:ruby:*:* |
< 1.19.4 | yes |
NVD metadata
- NVD status
- Analyzed
- Source identifier
security-advisories@github.com
References
Linked Vulnerabilities
{
"cvss": 2.6,
"datePublished": "2026-06-25T15:16:40.343",
"dateUpdated": "2026-10-25T23:10:00.167",
"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.",
"id": "CVE-2026-57234",
"raw": {
"affected": [
{
"affectedData": [
{
"product": "nokogiri",
"vendor": "sparklemotion",
"versions": [
{
"status": "affected",
"version": "< 1.19.4"
}
]
}
],
"source": "security-advisories@github.com"
}
],
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:ruby:*:*",
"matchCriteriaId": "1E436D65-41E3-459F-9D7F-3CD5BB2BFCB1",
"versionEndExcluding": "1.19.4",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Nokogiri es una biblioteca de código abierto de XML y HTML para el lenguaje de programación Ruby. Antes de la versión 1.19.4, la opción de análisis NONET, que Nokogiri activa por defecto para Nokogiri::XML::Schema (ver CVE-2020-26247), no se aplicaba correctamente en la implementación de JRuby. Como resultado, un esquema analizado con las opciones por defecto aún podía provocar que se obtuvieran recursos externos a través de la red, lo que potencialmente permitía ataques SSRF o XXE. Esta vulnerabilidad se corrigió en la versión 1.19.4."
}
],
"id": "CVE-2026-57234",
"lastModified": "2026-10-25T23:10:00.167",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 2.6,
"baseSeverity": "LOW",
"confidentialityImpact": "LOW",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N",
"version": "3.1"
},
"exploitabilityScore": 1.2,
"impactScore": 1.4,
"source": "security-advisories@github.com",
"type": "Secondary"
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-57234",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-06-25T15:05:35.927298Z",
"version": "2.0.3"
}
}
]
},
"published": "2026-06-25T15:16:40.343",
"references": [
{
"source": "security-advisories@github.com",
"tags": [
"Vendor Advisory"
],
"url": "https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-8678-w3jw-xfc2"
}
],
"sourceIdentifier": "security-advisories@github.com",
"vulnStatus": "Analyzed",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-178"
},
{
"lang": "en",
"value": "CWE-184"
},
{
"lang": "en",
"value": "CWE-611"
}
],
"source": "security-advisories@github.com",
"type": "Secondary"
}
]
},
"severity": "LOW",
"source": "nvd",
"title": "Nokogiri is an open source XML and HTML library for the Ruby programming language"
}