CVE-2020-26247
published low CVSS 3.1 · 2.6XXE in Nokogiri
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sparklemotion | — | nokogiri< 1.11.0.rc4 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | ruby-nokogiri | Fixed | 1.11.6-r0 | Package fix record |
| Debian | buster | ruby-nokogiri | Advisory build | 1.10.0+dfsg1-2+deb10u1 | DLA-3149-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-nokogiriaarch64 | Advisory build | 1.8.5-3.6.1 | SUSE-SU-2021:0251-1 |
| Ubuntu | focal | ruby-nokogiri | Advisory build | 1.10.7+dfsg1-2ubuntu0.1~esm2 | USN-7659-1 |
| Alpine Linux | v3.14 | ruby-nokogiri | Fixed | 1.11.6-r0 | Package fix record |
| Alpine Linux | v3.15 | ruby-nokogiri | Fixed | 1.11.6-r0 | Package fix record |
| Alpine Linux | v3.16 | ruby-nokogiri | Fixed | 1.11.6-r0 | Package fix record |
Show 26 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.17 | ruby-nokogiri | Fixed | 1.11.6-r0 | Package fix record |
| Alpine Linux | v3.18 | ruby-nokogiri | Fixed | 1.11.6-r0 | Package fix record |
| Alpine Linux | v3.19 | ruby-nokogiri | Fixed | 1.11.6-r0 | Package fix record |
| Alpine Linux | v3.20 | ruby-nokogiri | Fixed | 1.11.6-r0 | Package fix record |
| Alpine Linux | v3.21 | ruby-nokogiri | Fixed | 1.11.6-r0 | Package fix record |
| Alpine Linux | v3.22 | ruby-nokogiri | Fixed | 1.11.6-r0 | Package fix record |
| Alpine Linux | v3.23 | ruby-nokogiri | Fixed | 1.11.6-r0 | Package fix record |
| Alpine Linux | v3.24 | ruby-nokogiri | Fixed | 1.11.6-r0 | Package fix record |
| Debian | stretch | ruby-nokogiri | Advisory build | 1.6.8.1-1+deb9u1 | DLA-2678-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-nokogirippc64le | Advisory build | 1.8.5-3.6.1 | SUSE-SU-2021:0251-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-nokogiris390x | Advisory build | 1.8.5-3.6.1 | SUSE-SU-2021:0251-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-nokogirix86_64 | Advisory build | 1.8.5-3.6.1 | SUSE-SU-2021:0251-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-nokogiriaarch64 | Advisory build | 1.8.5-3.6.1 | SUSE-SU-2021:0251-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-nokogirippc64le | Advisory build | 1.8.5-3.6.1 | SUSE-SU-2021:0251-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-nokogiris390x | Advisory build | 1.8.5-3.6.1 | SUSE-SU-2021:0251-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-nokogirix86_64 | Advisory build | 1.8.5-3.6.1 | SUSE-SU-2021:0251-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-nokogiriaarch64 | Advisory build | 1.8.5-3.6.1 | SUSE-SU-2021:0251-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-nokogirippc64le | Advisory build | 1.8.5-3.6.1 | SUSE-SU-2021:0251-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-nokogiris390x | Advisory build | 1.8.5-3.6.1 | SUSE-SU-2021:0251-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-nokogirix86_64 | Advisory build | 1.8.5-3.6.1 | SUSE-SU-2021:0251-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | ruby2.5-rubygem-nokogirii586 | Advisory build | 1.8.5-lp152.4.3.1 | OPENSUSE-SU-2021:0237-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | ruby2.5-rubygem-nokogirix86_64 | Advisory build | 1.8.5-lp152.4.3.1 | OPENSUSE-SU-2021:0237-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | ruby2.5-rubygem-nokogiri-doci586 | Advisory build | 1.8.5-lp152.4.3.1 | OPENSUSE-SU-2021:0237-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | ruby2.5-rubygem-nokogiri-docx86_64 | Advisory build | 1.8.5-lp152.4.3.1 | OPENSUSE-SU-2021:0237-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | ruby2.5-rubygem-nokogiri-testsuitei586 | Advisory build | 1.8.5-lp152.4.3.1 | OPENSUSE-SU-2021:0237-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | ruby2.5-rubygem-nokogiri-testsuitex86_64 | Advisory build | 1.8.5-lp152.4.3.1 | OPENSUSE-SU-2021:0237-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 2.6 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sparklemotion | nokogiri | < 1.11.0.rc4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-611 CWE-611: Improper Restriction of XML External Entity Reference
References
8- https://github.com/sparklemotion/nokogiri/commit/9c87439d9afa14a365ff13e73adc809cb2c3d97b
- https://github.com/sparklemotion/nokogiri/releases/tag/v1.11.0.rc4
- https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-vr8q-g5c7-m54m
- https://hackerone.com/reports/747489
- [debian-lts-announce] 20210606 [SECURITY] [DLA 2678-1] ruby-nokogiri security update https://lists.debian.org/debian-lts-announce/2021/06/msg00007.html
- [debian-lts-announce] 20221012 [SECURITY] [DLA 3149-1] ruby-nokogiri security update https://lists.debian.org/debian-lts-announce/2022/10/msg00018.html
- https://rubygems.org/gems/nokogiri
- GLSA-202208-29 https://security.gentoo.org/glsa/202208-29
Provider assertions
2GitHub_M · cna
XXE in Nokogiri
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 29ebc49ed83acfe8ac86f9f66b43d1cad1ab26021d183d514fdc333cca0c7f04
- Ingested
- 23 Sep 2026, 07:49:46 UTC
- Source record
- Official CVE record