# CVE-2020-26247: ruby-nokogiri: Nokogiri is a Rubygem providing HTML, XML, SAX, and Reader parsers with XPath and CSS selector support

CVE-2020-26247 is fixed in ruby-nokogiri on 1 platform by ruby-nokogiri 1.10.7+dfsg1-2ubuntu0.1~esm2 (version 1.10.7+dfsg1-2ubuntu0.1~esm2), released May 20, 2022. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2020-26247
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0118
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 30, 2020

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ruby-nokogiri Ubuntu 20.04 LTS (focal) | 1.10.7+dfsg1-2ubuntu0.1~esm2 | [ruby-nokogiri 1.10.7+dfsg1-2ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ruby-nokogiri-1.10.7-dfsg1-2ubuntu0.1-esm2.md) | May 20, 2022 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
