Skip to main content
← All vulnerabilities
CVE-2020-26247GHSA-VR8Q-G5C7-M54M

XXE in Nokogiri

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.11.0.rc4, 1.11.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • sparklemotion nokogiri

    fixed in 1.11.0.rc4

  • nokogiriRubyGems

    fixed in 1.11.0

References 8

GitHub · sparklemotion/nokogiri

rubygems.org

hackerone.com

lists.debian.org

security.gentoo.org