Nokogiri vulnerabilities
21 CVEs affecting Nokogiri, 0 known to be exploited (CISA KEV), with EPSS scores. Latest: CVE-2026-79772, published 2026-08-25.
More from Nokogiri.
Highest priority
Known exploited (CISA KEV) first, then by EPSS exploit probability.
- CVE-2018-25032, published 2022-03-25. High severity, CVSS 7.5. EPSS: 52% probability of exploitation activity in the next 30 days. zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.
- CVE-2019-5477, published 2019-08-16. Critical severity, CVSS 9.8. EPSS: 6.1% probability of exploitation activity in the next 30 days. A command injection vulnerability in Nokogiri v1.10.3 and earlier allows commands to be executed in a subprocess via Ruby's `Kernel.open` method. Processes are vulnerable only if the undocumented…
- CVE-2022-24836, published 2022-04-11. High severity, CVSS 7.5. EPSS: 2.8% probability of exploitation activity in the next 30 days. Nokogiri is an open source XML and HTML library for Ruby. Nokogiri `< v1.13.4` contains an inefficient regular expression that is susceptible to excessive backtracking when attempting to detect…
- CVE-2022-29181, published 2022-05-20. High severity, CVSS 8.2. EPSS: 2.6% probability of exploitation activity in the next 30 days. Nokogiri is an open source XML and HTML library for Ruby. Nokogiri prior to version 1.13.6 does not type-check all inputs into the XML and HTML4 SAX parsers, allowing specially crafted untrusted…
- CVE-2013-6461, published 2019-11-05. Medium severity, CVSS 6.5. EPSS: 2.2% probability of exploitation activity in the next 30 days. Nokogiri gem 1.5.x and 1.6.x has DoS while parsing XML entities by failing to apply limits
- CVE-2012-6685, published 2020-02-19. High severity, CVSS 7.5. EPSS: 2.2% probability of exploitation activity in the next 30 days. Nokogiri before 1.5.4 is vulnerable to XXE attacks
- CVE-2022-23476, published 2022-12-08. High severity, CVSS 7.5. EPSS: 2.1% probability of exploitation activity in the next 30 days. Nokogiri is an open source XML and HTML library for the Ruby programming language. Nokogiri `1.13.8` and `1.13.9` fail to check the return value from `xmlTextReaderExpand` in the method…
- CVE-2013-6460, published 2019-11-05. Medium severity, CVSS 6.5. EPSS: 2.1% probability of exploitation activity in the next 30 days. Nokogiri gem 1.5.x has Denial of Service via infinite loop when parsing XML documents
- CVE-2021-41098, published 2021-09-27. High severity, CVSS 7.5. EPSS: 1.5% probability of exploitation activity in the next 30 days. Nokogiri is a Rubygem providing HTML, XML, SAX, and Reader parsers with XPath and CSS selector support. In Nokogiri v1.12.4 and earlier, on JRuby only, the SAX parser resolves external entities by…
- CVE-2020-26247, published 2020-12-30. Medium severity, CVSS 4.3. EPSS: 1.2% probability of exploitation activity in the next 30 days. 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…
Latest
- CVE-2026-79772, published 2026-08-25. Medium severity, CVSS 5.3. EPSS: 0.3% probability of exploitation activity in the next 30 days. Nokogiri versions before 1.19.1 fail to check the return value from xmlC14NExecute in the canonicalize method, returning an empty string on failure instead of raising an exception. Attackers can…
- CVE-2026-79771, published 2026-08-25. Medium severity, CVSS 5.3. EPSS: 0.4% probability of exploitation activity in the next 30 days. Nokogiri versions before 1.19.3 contain a memory leak in the XSLT Stylesheet transform method when processing Ruby strings containing null bytes. Attackers can exploit this by passing…
- CVE-2026-79770, published 2026-08-25. High severity, CVSS 7.5. EPSS: 0.5% probability of exploitation activity in the next 30 days. Nokogiri versions before 1.19.3 contain regular expression denial of service vulnerabilities in the CSS selector tokenizer affecting string-literal and identifier tokenization. Attackers can inject…
- CVE-2026-57438, published 2026-06-25. Medium severity, CVSS 6.6. EPSS: 0.1% probability of exploitation activity in the next 30 days. Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, XInclude substitution performed by Nokogiri::XML::Node#do_xinclude replaced each <xi:include> in…
- CVE-2026-57437, published 2026-06-25. Medium severity, CVSS 5.3. EPSS: 0.3% probability of exploitation activity in the next 30 days. Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri::XML::XPathContext did not keep its source document alive for garbage collection. If an…
- CVE-2026-57436, published 2026-06-25. Medium severity, CVSS 5.3. EPSS: 0.3% probability of exploitation activity in the next 30 days. Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri::XML::Document#root= validated only that the new root was a Nokogiri::XML::Node, allowing…
- CVE-2026-57435, published 2026-06-25. High severity, CVSS 7.5. EPSS: 0.4% probability of exploitation activity in the next 30 days. Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri’s CRuby native extension could leave a Ruby wrapper pointing to freed memory when…
- CVE-2026-57434, published 2026-06-25. High severity, CVSS 7.5. EPSS: 0.4% probability of exploitation activity in the next 30 days. Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri contains a bug when calling certain methods on allocated-but-uninitialized native wrapper…
- CVE-2026-57236, published 2026-06-25. High severity, CVSS 8.2. EPSS: 0.3% probability of exploitation activity in the next 30 days. Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, calling Document#encoding= with an invalid encoding (e.g., a non-string, or a string containing a…
- CVE-2026-57235, published 2026-06-25. High severity, CVSS 8.2. EPSS: 0.3% probability of exploitation activity in the next 30 days. Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri::XML::NodeSet#[] (and its alias #slice) checked the requested index against the node set's…