vulnerability
Ubuntu: USN-7659-1 (CVE-2020-26247): Nokogiri vulnerabilities
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 4 | (AV:N/AC:L/Au:S/C:P/I:N/A:N) | Dec 30, 2020 | Jun 26, 2025 | Aug 18, 2025 |
Severity
4
CVSS
(AV:N/AC:L/Au:S/C:P/I:N/A:N)
Published
Dec 30, 2020
Added
Jun 26, 2025
Modified
Aug 18, 2025
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.
Solution
ubuntu-pro-upgrade-ruby-nokogiri
References
- CVE-2020-26247
- https://attackerkb.com/topics/CVE-2020-26247
- CWE-611
- UBUNTU-USN-7659-1
- URL-https://github.com/sparklemotion/nokogiri/commit/9c87439d9afa14a365ff13e73adc809cb2c3d97b
- URL-https://github.com/sparklemotion/nokogiri/releases/tag/v1.11.0.rc4
- URL-https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-vr8q-g5c7-m54m
- URL-https://hackerone.com/reports/747489
- URL-https://rubygems.org/gems/nokogiri
- URL-https://www.cve.org/CVERecord?id=CVE-2020-26247
NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.