CVE-2020-26247: XXE in Nokogiri
Vulnerability summary
CVE-2020-26247 is a medium (CVSS 4.3) vulnerability in debian debian_linux. EPSS estimates a 1.18% chance of exploitation in the next 30 days, higher than 67.7% of scored vulnerabilities.
Not severe (CVSS 2.6, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 5Timeline
- 30-12-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 6 sources · 2 versions- CVE.orgCNA2.6LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · DebianEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · RubygemsEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · AlpineEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
1.18%
Chance of exploitation in the next 30 days
Percentile
68%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.18% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- ruby-nokogiri< 1.6.8.1-1+deb9u1 | < 1.11.1+dfsg-1
- debian_linuxEOL9.0 | 10.0
Alpine1 product
- ruby-nokogiri< 1.11.6-r0
Nokogiri1 product
- nokogiri< 1.11.0 | 1.11.0:rc1 | 1.11.0:rc2 | 1.11.0:rc3
RubyGems1 product
- nokogiri< 1.11.0
Sparklemotion1 product
- nokogiri< 1.11.0.rc4
Ubuntu1 product
- ruby-nokogiri< 1.10.7+dfsg1-2ubuntu0.1~esm2
6 vendors · 7 products
References
17 links- github.com/sparklemotion/nokogiri/security/advisories/GHSA-vr8q-g5c7-m54mREPORTWEBMitigationThird Party Advisory
- github.com/sparklemotion/nokogiri/releases/tag/v1.11.0.rc4REPORTWEBRelease NotesThird Party Advisory
- github.com/sparklemotion/nokogiri/commit/9c87439d9afa14a365ff13e73adc809cb2c3d97bREPORTWEBPatchThird Party Advisory