CVE-2020-26247

XXE in Nokogiri

Published Dec 30, 2020 CVSS 3.1 · 2.6 Low EPSS 1.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2678-1 ruby-nokogiri security update
Debian DLA Debian DLA DLA-3149-1 ruby-nokogiri security update
EUVD EUVD EUVD-2020-1507 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.
Github GHSA Github GHSA GHSA-vr8q-g5c7-m54m Nokogiri::XML::Schema trusts input by default, exposing risk of XXE vulnerability
Ubuntu USN Ubuntu USN USN-7659-1 Nokogiri vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 4, 2024, 3:56 PM
Reserved
Oct 1, 2020, 12:00 AM
Status
Modified
Published
Dec 30, 2020, 7:15 PM
Modified
Jun 17, 2026, 3:07 AM
Severity
Moderate
Public date
Dec 30, 2020, 12:00 AM