CVE-2020-26247: Nokogiri is a Rubygem providing HTML, XML, SAX, and Reader parsers with XPath and CSS selector support.
Noroxi assessment
Priority: Monitor (action score 17/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.1% (FIRST EPSS); higher than 67.9% of all records.
- Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: ruby-nokogiri (Alpine:v3.14) 1.11.6-r0; ruby-nokogiri (Debian:10) 1.10.0+dfsg1-2+deb10u1; ruby-nokogiri (Debian:12) 1.11.1+dfsg-1.
Low priority for now. Upgrade to ruby-nokogiri (Alpine:v3.14) 1.11.6-r0; ruby-nokogiri (Debian:10) 1.10.0+dfsg1-2+deb10u1; ruby-nokogiri (Debian:12) 1.11.1+dfsg-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Dec 30, 2020
- Updated
- Jun 16, 2026
- EPSS
- 1.1% · 67th percentile
- CWE
- CWE-611
Report tools
Action score
17
Monitor
Low priority for now.
- CVSS
- 17 / 40 · 4.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.1%
CNA vs NVD score
- NVD
- 4.3
- CNA · GitHub_M
- 2.6
- 1.7 point gap
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| nokogiri | nokogiri | cpe:2.3:a:nokogiri:nokogiri |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- debian debian linux9.0
- nokogiri nokogiribefore 1.11.0
- nokogiri nokogiri1.11.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
sparklemotion nokogiri
- < 1.11.0.rc4affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.14 | ruby-nokogiri | before 1.11.6-r0 | 1.11.6-r0 |
| Debian:10 | ruby-nokogiri | before 1.10.0+dfsg1-2+deb10u1 | 1.10.0+dfsg1-2+deb10u1 |
| Debian:12 | ruby-nokogiri | before 1.11.1+dfsg-1 | 1.11.1+dfsg-1 |
| Debian:9 | ruby-nokogiri | before 1.6.8.1-1+deb9u1 | 1.6.8.1-1+deb9u1 |
| openSUSE:Leap 15.2 | rubygem-nokogiri | before 1.8.5-lp152.4.3.1 | 1.8.5-lp152.4.3.1 |
| Red Hat:satellite_capsule:6.10::el7 | foreman | before 0:2.5.2.17-2.el7sat | 0:2.5.2.17-2.el7sat |
| Red Hat:satellite_capsule:6.10::el7 | python-aiohttp | before 0:3.7.4-1.el7pc | 0:3.7.4-1.el7pc |
| Red Hat:satellite_capsule:6.10::el7 | python-ecdsa | before 0:0.13.3-2.el7pc | 0:0.13.3-2.el7pc |
| Red Hat:satellite_capsule:6.10::el7 | python-pyyaml | before 0:5.4.1-1.el7pc | 0:5.4.1-1.el7pc |
| Red Hat:satellite_capsule:6.10::el7 | python-urllib3 | before 0:1.26.5-1.el7pc | 0:1.26.5-1.el7pc |
| Red Hat:satellite_capsule:6.10::el7 | python3-django | before 0:2.2.24-1.el7pc | 0:2.2.24-1.el7pc |
| Red Hat:satellite_capsule:6.10::el7 | python3-ecdsa | before 0:0.13.3-2.el7pc | 0:0.13.3-2.el7pc |
| Red Hat:satellite_capsule:6.10::el7 | python3-pyyaml | before 0:5.4.1-1.el7pc | 0:5.4.1-1.el7pc |
| Red Hat:satellite_capsule:6.10::el7 | python3-urllib3 | before 0:1.26.5-1.el7pc | 0:1.26.5-1.el7pc |
| Red Hat:satellite_capsule:6.10::el7 | satellite | before 0:6.10.0-3.el7sat | 0:6.10.0-3.el7sat |
| Red Hat:satellite_capsule:6.10::el7 | satellite-capsule | before 0:6.10.0-3.el7sat | 0:6.10.0-3.el7sat |
| Red Hat:satellite_capsule:6.10::el7 | tfm-rubygem-nokogiri | before 0:1.11.3-2.el7sat | 0:1.11.3-2.el7sat |
| Red Hat:satellite:6.10::el7 | candlepin | before 0:4.0.9-1.el7sat | 0:4.0.9-1.el7sat |
| Red Hat:satellite:6.10::el7 | tfm-rubygem-actionpack | before 0:6.0.3.7-1.el7sat | 0:6.0.3.7-1.el7sat |
| Red Hat:satellite:6.10::el7 | tfm-rubygem-activerecord-session_store | before 0:2.0.0-1.el7sat | 0:2.0.0-1.el7sat |
| Red Hat:satellite:6.10::el7 | tfm-rubygem-addressable | before 0:2.8.0-1.el7sat | 0:2.8.0-1.el7sat |
| Red Hat:satellite:6.10::el7 | tfm-rubygem-puma | before 0:5.3.2-1.el7sat | 0:5.3.2-1.el7sat |
| Red Hat:satellite:6.10::el7 | tfm-rubygem-rails | before 0:6.0.3.7-1.el7sat | 0:6.0.3.7-1.el7sat |
| RubyGems | nokogiri | before 1.11.0 | 1.11.0 |
+58
Same product
nokogiri: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-5477A command injection vulnerability in Nokogiri v1.10.3 and earlier allows commands to be executed in a subprocess via Ruby's `Kernel.open` me41Plan
- CVE-2026-79770Nokogiri before 1.19.3 ReDoS via CSS selector tokenizer34Monitor
- CVE-2022-29181Improper Handling of Unexpected Data Type in Nokogiri33Monitor
Published before and after this one in the same product
- ← EarlierCVE-2013-6461Nov 5, 2019 · Nokogiri gem 1.5.x and 1.6.x has DoS while parsing XML entities by failing to apply limits27Monitor
- ← EarlierCVE-2012-6685Feb 19, 2020 · Nokogiri before 1.5.4 is vulnerable to XXE attacks31Monitor
- Later →CVE-2021-41098Sep 27, 2021 · Improper Restriction of XML External Entity Reference (XXE) in Nokogiri on JRuby30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:ruby-nokogiri | 1.11.6-r0 · Alpine:v3.14 | Package registry (OSV) |
| debian:ruby-nokogiri | 1.11.1+dfsg-1 · Debian:12 | Package registry (OSV) |
| opensuse:rubygem-nokogiri | 1.8.5-lp152.4.3.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| red hat:candlepin | 0:4.0.9-1.el7sat · Red Hat:satellite:6.10::el7 | Package registry (OSV) |
| red hat:foreman | 0:2.5.2.17-2.el7sat · Red Hat:satellite_capsule:6.10::el7 | Package registry (OSV) |
| red hat:python-aiohttp | 0:3.7.4-1.el7pc · Red Hat:satellite_capsule:6.10::el7 | Package registry (OSV) |
| red hat:python-ecdsa | 0:0.13.3-2.el7pc · Red Hat:satellite_capsule:6.10::el7 | Package registry (OSV) |
| red hat:python-pyyaml | 0:5.4.1-1.el7pc · Red Hat:satellite_capsule:6.10::el7 | Package registry (OSV) |
| red hat:python3-ecdsa | 0:0.13.3-2.el7pc · Red Hat:satellite_capsule:6.10::el7 | Package registry (OSV) |
| red hat:python3-pyyaml | 0:5.4.1-1.el7pc · Red Hat:satellite_capsule:6.10::el7 | Package registry (OSV) |
| red hat:satellite | 0:6.10.0-3.el7sat · Red Hat:satellite_capsule:6.10::el7 | Package registry (OSV) |
| red hat:satellite-capsule | 0:6.10.0-3.el7sat · Red Hat:satellite_capsule:6.10::el7 | Package registry (OSV) |
| red hat:tfm-rubygem-actionpack | 0:6.0.3.7-1.el7sat · Red Hat:satellite:6.10::el7 | Package registry (OSV) |
| red hat:tfm-rubygem-activerecord-session_store | 0:2.0.0-1.el7sat · Red Hat:satellite:6.10::el7 | Package registry (OSV) |
| red hat:tfm-rubygem-nokogiri | 0:1.11.3-2.el7sat · Red Hat:satellite_capsule:6.10::el7 | Package registry (OSV) |
| RubyGems:nokogiri | 1.11.0 | Package registry (OSV) |
| suse:ardana-cobbler | 8.0+git.1614096566.e8c2b27-3.44.3 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:cassandra | 3.11.10-5.3.5 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:documentation-hpe-helion-openstack-installation | 8.20210512-1.32.5 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:documentation-hpe-helion-openstack-operations | 8.20210512-1.32.5 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:documentation-hpe-helion-openstack-opsconsole | 8.20210512-1.32.5 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:documentation-hpe-helion-openstack-planning | 8.20210512-1.32.5 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:documentation-hpe-helion-openstack-security | 8.20210512-1.32.5 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:documentation-hpe-helion-openstack-user | 8.20210512-1.32.5 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:grafana | 6.7.4-4.18.2 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:kibana | 4.6.6-3.9.2 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:openstack-heat-templates | 0.0.0+git.1623056900.7917e18-3.21.3 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:rubygem-nokogiri | 1.6.1-5.3.1 · SUSE:OpenStack Cloud 7 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- low · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- Low
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-611 · Improper Restriction of XML External Entity ReferenceCVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- github.com/sparklemotion/nokogiri/releases/tag/v1.11.0.rc4
- github.com/sparklemotion/nokogiri/security/advisories/GHSA-vr8q-g5c7-m54m
- hackerone.com/reports/747489
- lists.debian.org/debian-lts-announce/2021/06/msg00007.html
- lists.debian.org/debian-lts-announce/2022/10/msg00018.html
- rubygems.org/gems/nokogiri
- security.gentoo.org/glsa/202208-29
Vendor advisories and official records. Exploit/PoC links are deliberately left out.