← Back

Nokogiri

nokogiri

26 CVEs • 1 product

Products (1)

Click to collapse
Toggle
Nokogiri
nokogiri

CVEs (26)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
1Nokogiri
1Nokogiri
Jun 17, 2026
Sep 27, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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 default. Users of Nokog...Show more
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 default. Users of Nokogiri on JRuby who parse untrusted documents using any of these classes are affected: Nokogiri::XML::SAX::Parse, Nokogiri::HTML4::SAX::Parser or its alias Nokogiri::HTML::SAX::Parser, Nokogiri::XML::SAX::PushParser, and Nokogiri::HTML4::SAX::PushParser or its alias Nokogiri::HTML::SAX::PushParser. JRuby users should upgrade to Nokogiri v1.12.5 or later to receive a patch for this issue. There are no workarounds available for v1.12.4 or earlier. CRuby users are not affected.Show less
2Debian
Nokogiri
2Debian Linux
Nokogiri
Jun 17, 2026
Dec 30, 2020
N/A· v4
4.3 MEDIUM· v3
4.0 MEDIUM· v2
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...Show more
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.Show less
2Nokogiri
Redhat
8Cloudforms Management Engine
Enterprise MrgNokogiri+5 more
Nov 21, 2024
Feb 19, 2020
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
Nokogiri before 1.5.4 is vulnerable to XXE attacks
3Debian
NokogiriRedhat
7Cloudforms Management Engine
Debian LinuxEnterprise Mrg+4 more
Nov 21, 2024
Nov 5, 2019
N/A· v4
6.5 MEDIUM· v3
4.3 MEDIUM· v2
Nokogiri gem 1.5.x and 1.6.x has DoS while parsing XML entities by failing to apply limits
3Debian
NokogiriRedhat
7Cloudforms Management Engine
Debian LinuxEnterprise Mrg+4 more
Nov 21, 2024
Nov 5, 2019
N/A· v4
6.5 MEDIUM· v3
4.3 MEDIUM· v2
Nokogiri gem 1.5.x has Denial of Service via infinite loop when parsing XML documents
3Canonical
DebianNokogiri
3Debian Linux
NokogiriUbuntu Linux
Jun 17, 2026
Aug 16, 2019
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
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 method `Nokogiri::CSS::T...Show more
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 method `Nokogiri::CSS::Tokenizer#load_file` is being called with unsafe user input as the filename. This vulnerability appears in code generated by the Rexical gem versions v1.0.6 and earlier. Rexical is used by Nokogiri to generate lexical scanner code for parsing CSS queries. The underlying vulnerability was addressed in Rexical v1.0.7 and Nokogiri upgraded to this version of Rexical in Nokogiri v1.10.4.Show less