Live threats

All CVEs / Nokogiri

CVE-2020-26247Nokogiri

Medium 4.3

Priority
26
CVSS 3.1
4.3
EPSS
1.2%
probability of exploitation in 30 days · percentile 69
Auth required
Yes
Published
Dec 30, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-611
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nokogiri.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems nokogiri < 1.11.0 1.11.0 gem "nokogiri", ">= 1.11.0"

Per OSV / GitHub Advisories (GHSA-vr8q-g5c7-m54m). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
nokogirinokogiri< 1.11.0
nokogirinokogiri1.11.0
nokogirinokogiri1.11.0
nokogirinokogiri1.11.0
debiandebian_linux9.0
debiandebian_linux10.0

Official sources

References

Links published by the sources. Open them with care.