CVEvulnerability
CVE-2020-26247
4.3 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2020-12-30
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 2.6 LOW — CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N
- CVSS 3.1 ([email protected])
- 4.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- CVSS 2.0 ([email protected])
- 4.0 MEDIUM — AV:N/AC:L/Au:S/C:P/I:N/A:N
- Weaknesses
- CWE-611
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.
Affected configurations
• nokogiri nokogiri (< 1.11.0)
• nokogiri nokogiri 1.11.0
• debian debian linux 9.0
• debian debian linux 10.0
Related
Weakness · CWE (1)
- CWE-611 Improper Restriction of XML External Entity Reference weakness
References
- https://github.com/sparklemotion/nokogiri/commit/9c87439d9afa14a365ff13e73adc809cb2c3d97b Patch, Third Party Advisory
- https://github.com/sparklemotion/nokogiri/releases/tag/v1.11.0.rc4 Release Notes, Third Party Advisory
- https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-vr8q-g5c7-m54m Mitigation, Third Party Advisory
- https://hackerone.com/reports/747489 Permissions Required
- https://lists.debian.org/debian-lts-announce/2021/06/msg00007.html Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00018.html Mailing List, Third Party Advisory
- https://rubygems.org/gems/nokogiri Product, Third Party Advisory
- https://security.gentoo.org/glsa/202208-29 Third Party Advisory
- https://github.com/sparklemotion/nokogiri/commit/9c87439d9afa14a365ff13e73adc809cb2c3d97b Patch, Third Party Advisory
- https://github.com/sparklemotion/nokogiri/releases/tag/v1.11.0.rc4 Release Notes, Third Party Advisory
- https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-vr8q-g5c7-m54m Mitigation, Third Party Advisory
- https://hackerone.com/reports/747489 Permissions Required
- https://lists.debian.org/debian-lts-announce/2021/06/msg00007.html Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00018.html Mailing List, Third Party Advisory
- https://rubygems.org/gems/nokogiri Product, Third Party Advisory
- https://security.gentoo.org/glsa/202208-29 Third Party Advisory