CVE-2020-26247

Summary

CVECVE-2020-26247
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2020-12-30 19:15:00 UTC
Updated2022-10-19 18:53:00 UTC
DescriptionNokogiri 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.

Risk And Classification

Problem Types: CWE-611

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 10.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Application Nokogiri Nokogiri All All All All
Application Nokogiri Nokogiri 1.11.0 rc1 All All
Application Nokogiri Nokogiri 1.11.0 rc2 All All
Application Nokogiri Nokogiri 1.11.0 rc3 All All
Application Nokogiri Nokogiri All All All All
Application Nokogiri Nokogiri 1.11.0 rc1 All All
Application Nokogiri Nokogiri 1.11.0 rc2 All All
Application Nokogiri Nokogiri 1.11.0 rc3 All All

References

ReferenceSourceLinkTags
Nokogiri::XML::Schema trusts input by default, exposing risk of an XXE vulnerability · Advisory · sparklemotion/nokogiri · GitHub CONFIRM github.com Mitigation, Third Party Advisory
[SECURITY] [DLA 2678-1] ruby-nokogiri security update MLIST lists.debian.org
Nokogiri: Multiple Vulnerabilities (GLSA 202208-29) — Gentoo security GENTOO security.gentoo.org
[SECURITY] [DLA 3149-1] ruby-nokogiri security update MLIST lists.debian.org
nokogiri | RubyGems.org | your community gem host MISC rubygems.org Product, Third Party Advisory
HackerOne MISC hackerone.com Permissions Required
Release v1.11.0.rc4 / 2020-12-29 · sparklemotion/nokogiri · GitHub MISC github.com Release Notes, Third Party Advisory
feat: XML::Schema and RelaxNG creation accept optional ParseOptions · sparklemotion/nokogiri@9c87439 · GitHub MISC github.com Patch, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 178661 Debian Security Update for ruby-nokogiri (DLA 2678-1)
  • 181134 Debian Security Update for ruby-nokogiri (DLA 3149-1)
  • 239895 Red Hat Update for Satellite 6.10 (RHSA-2021:4702)
  • 501920 Alpine Linux Security Update for ruby-nokogiri
  • 690369 Free Berkeley Software Distribution (FreeBSD) Security Update for nokogiri (13c54e6d-5c45-11eb-b4e2-001b217b3468)
  • 710597 Gentoo Linux Nokogiri Multiple Vulnerabilities (GLSA 202208-29)
  • 750375 OpenSUSE Security Update for rubygem-nokogiri (openSUSE-SU-2021:0237-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report