Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2020-26247

rubygem-nokogiri: XML external entity injection via Nokogiri::XML::Schema

Overview

Published
30 Dec 2020
Modified
17 Jun 2026
Medium CVE
1 Registry packages
17 OS packages
6 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

4.3 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Weakness: CWE-611

Affected packages · 1

Packages affected by CVE-2020-26247
EcosystemPackageVulnerableFixed in
RubyGems nokogiri <1.11.0 1.11.01.11.0.rc4

Open a package to see all its vulnerabilities.

Operating systems · 27 fixes

Photon OS 1 release · 1 package

fixed 1
rubygem-nokogiri
Photon OS fixes for CVE-2020-26247
ReleasePackageFixed in
4.0 rubygem-nokogiri 1.11.3-1.ph4

Red Hat 2 releases · 13 packages

wont fix 2 fixed 12
rubygem-nokogiri python3-ecdsa tfm-rubygem-nokogiri python3-urllib3 tfm-rubygem-activerecord-session-store python3-django +7
Red Hat fixes for CVE-2020-26247
ReleasePackageFixed inAdvisory
7 rubygem-nokogiri +1 wont fix —
7 python3-ecdsa 0:0.13.3-2.el7pc RHSA-2021:4702
7 tfm-rubygem-nokogiri 0:1.11.3-2.el7sat RHSA-2021:4702
7 python3-urllib3 0:1.26.5-1.el7pc RHSA-2021:4702
7 tfm-rubygem-activerecord-session-store 0:2.0.0-1.el7sat RHSA-2021:4702
7 python3-django 0:2.2.24-1.el7pc RHSA-2021:4702

8 more rows

alpine 4 releases · 1 package

fixed 4
ruby-nokogiri
alpine fixes for CVE-2020-26247
ReleasePackageFixed in
3.22 ruby-nokogiri 1.11.6-r0
3.23 ruby-nokogiri 1.11.6-r0
3.24 ruby-nokogiri 1.11.6-r0
edge ruby-nokogiri 1.11.6-r0

debian 6 releases · 1 package

fixed 6
ruby-nokogiri
debian fixes for CVE-2020-26247
ReleasePackageFixed in
10 ruby-nokogiri 1.10.0+dfsg1-2+deb10u1
11 ruby-nokogiri 1.11.1+dfsg-1
12 ruby-nokogiri 1.11.1+dfsg-1
13 ruby-nokogiri 1.11.1+dfsg-1
14 ruby-nokogiri 1.11.1+dfsg-1
9 ruby-nokogiri 1.6.8.1-1+deb9u1

echo 1 release · 1 package

fixed 1
ruby-nokogiri
echo fixes for CVE-2020-26247
ReleasePackageFixed in
ruby-nokogiri 1.11.1+dfsg-1

ubuntu 1 release · 1 package

fixed 1
ruby-nokogiri
ubuntu fixes for CVE-2020-26247
ReleasePackageFixed in
20.04-ESM ruby-nokogiri 1.10.7+dfsg1-2ubuntu0.1~esm2

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.