CVE-2020-26247
XXE in Nokogiri
Nokogiri is a Rubygem providing HTML, XML, SAX, and Reader parsers with XPath and CSS selector support. In Nokogiri before version 1.11.0.rc4 there is an XXE vulnerability. XML Schemas parsed by Nokogiri::XML::Schema are trusted by default, allowing external resources to be accessed over the network, potentially enabling XXE or SSRF attacks. This behavior is counter to the security policy followed by Nokogiri maintainers, which is to treat all input as untrusted by default whenever possible. This is fixed in Nokogiri version 1.11.0.rc4.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.214% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 2.6 · published by GitHub_MCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N
Assessment source · checked 2026-11-19T12:55:32.233Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T12:55:32.233Z | CVE Program |
| epss | verified | 2026-11-19T16:04:28.415Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:44.936Z | OSV |
| affected | verified | 2026-11-19T12:55:32.233Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:55:32.233Z | CVE Program |
Affected versions and configuration
sparklemotion nokogiri; default status: unknown: < 1.11.0.rc4 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "sparklemotion",
"product": "nokogiri",
"versions": [
{
"status": "affected",
"version": "< 1.11.0.rc4"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-vr8q-g5c7-m54m",
"tags": [
"x_transferred"
]
},
{
"url": "https://rubygems.org/gems/nokogiri",
"tags": [
"x_transferred"
]
},
{
"url": "https://hackerone.com/reports/747489",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/sparklemotion/nokogiri/releases/tag/v1.11.0.rc4",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/sparklemotion/nokogiri/commit/9c87439d9afa14a365ff13e73adc809cb2c3d97b",
"tags": [
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2021/06/msg00007.html",
"name": "[debian-lts-announce] 20210606 [SECURITY] [DLA 2678-1] ruby-nokogiri security update",
"tags": [
"mailing-list",
"x_transferred"
]
},
{
"url": "https://security.gentoo.org/glsa/202208-29",
"name": "GLSA-202208-29",
"tags": [
"vendor-advisory",
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2022/10/msg00018.html",
"name": "[debian-lts-announce] 20221012 [SECURITY] [DLA 3149-1] ruby-nokogiri security update",
"tags": [
"mailing-list",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-04T15:56:04.939Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-vr8q-g5c7-m54m",
"aliases": [
"CVE-2020-26247"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.11.0"
}
]
}
],
"package": {
"name": "nokogiri",
"purl": "pkg:gem/nokogiri",
"ecosystem": "RubyGems"
},
"versions": [
"1.0.0",
"1.0.1",
"1.0.2",
"1.0.3",
"1.0.4",
"1.0.5",
"1.0.6",
"1.0.7",
"1.1.0",
"1.1.1",
"1.10.0",
"1.10.0.rc1",
"1.10.1",
"1.10.10",
"1.10.2",
"1.10.3",
"1.10.4",
"1.10.5",
"1.10.6",
"1.10.7",
"1.10.8",
"1.10.9",
"1.11.0.rc1",
"1.11.0.rc2",
"1.11.0.rc3",
"1.11.0.rc4",
"1.2.0",
"1.2.1",
"1.2.2",
"1.2.3",
"1.3.0",
"1.3.1",
"1.3.2",
"1.3.3",
"1.4.0",
"1.4.1",
"1.4.2",
"1.4.2.1",
"1.4.3",
"1.4.3.1",
"1.4.4",
"1.4.4.1",
"1.4.4.2",
"1.4.5",
"1.4.6",
"1.4.7",
"1.5.0",
"1.5.0.beta.1",
"1.5.0.beta.2",
"1.5.0.beta.3",
"1.5.0.beta.4",
"1.5.1",
"1.5.1.rc1",
"1.5.10",
"1.5.11",
"1.5.2",
"1.5.3",
"1.5.3.rc2",
"1.5.3.rc3",
"1.5.3.rc4",
"1.5.3.rc5",
"1.5.3.rc6",
"1.5.4",
"1.5.4.rc1",
"1.5.4.rc2",
"1.5.4.rc3",
"1.5.5",
"1.5.5.rc1",
"1.5.5.rc2",
"1.5.5.rc3",
"1.5.6",
"1.5.6.rc1",
"1.5.6.rc2",
"1.5.6.rc3",
"1.5.7",
"1.5.7.rc1",
"1.5.7.rc2",
"1.5.7.rc3",
"1.5.8",
"1.5.9",
"1.6.0",
"1.6.0.rc1",
"1.6.1",
"1.6.2",
"1.6.2.1",
"1.6.2.rc1",
"1.6.2.rc2",
"1.6.2.rc3",
"1.6.3",
"1.6.3.1",
"1.6.3.rc1",
"1.6.3.rc2",
"1.6.3.rc3",
"1.6.4",
"1.6.4.1",
"1.6.5",
"1.6.6.1",
"1.6.6.2",
"1.6.6.3",
"1.6.6.4",
"1.6.7",
"1.6.7.1",
"1.6.7.2",
"1.6.7.rc2",
"1.6.7.rc3",
"1.6.7.rc4",
"1.6.8",
"1.6.8.1",
"1.6.8.rc1",
"1.6.8.rc2",
"1.6.8.rc3",
"1.7.0",
"1.7.0.1",
"1.7.1",
"1.7.2",
"1.8.0",
"1.8.1",
"1.8.2",
"1.8.3",
"1.8.4",
"1.8.5",
"1.9.0",
"1.9.0.rc1",
"1.9.1"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/12/GHSA-vr8q-g5c7-m54m/GHSA-vr8q-g5c7-m54m.json",
"last_known_affected_version_range": "<= 1.10.10"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-vr8q-g5c7-m54m",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-26247",
"type": "ADVISORY"
},
{
"url": "https://github.com/sparklemotion/nokogiri/commit/9c87439d9afa14a365ff13e73adc809cb2c3d97b",
"type": "WEB"
},
{
"url": "https://hackerone.com/reports/747489",
"type": "WEB"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2020-26247.yml",
"type": "WEB"
},
{
"url": "https://github.com/sparklemotion/nokogiri",
"type": "PACKAGE"
},
{
"url": "https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md#v1110--2021-01-03",
"type": "WEB"
},
{
"url": "https://github.com/sparklemotion/nokogiri/releases/tag/v1.11.0.rc4",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2021/06/msg00007.html",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2022/10/msg00018.html",
"type": "WEB"
},
{
"url": "https://rubygems.org/gems/nokogiri",
"type": "WEB"
},
{
"url": "https://security.gentoo.org/glsa/202208-29",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-611"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2020-12-30T19:15:00Z",
"github_reviewed_at": "2020-12-30T18:34:51Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | RubyGems / package | nokogiri | Not a distribution channel | 1.11.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T12:52:44.936ZArchived source JSON
Source publication: 2020-12-30T18:35:06.000Z
Source modification: 2026-07-08T05:59:36.466ZDocument fingerprint
b7b4a134a348f3629d479548f0742a30bfb981bd376f43db4edc65815caf273c - CVE ProgramConsulted: 2026-11-19T12:55:32.233ZArchived source JSON
Source publication: 2020-12-30T00:00:00.000Z
Source modification: 2024-08-04T15:56:04.939ZDocument fingerprint
29ebc49ed83acfe8ac86f9f66b43d1cad1ab26021d183d514fdc333cca0c7f04 - FIRST EPSSConsulted: 2026-11-19T16:04:28.415ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
39bea3af22058b676b5ebbef9d577de9e9401bcbe0faa29a2491380e8c5f063c
Official status history
- UNKNOWN → PUBLISHED · · evidence