Approved changes feed: RSS · Atom

cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:ruby:*:*

part: a version: * update: *

VendorNokogiri (978e9520-dade-5e37-bec5-059e1fdaac31)
ProductNokogiri (e2c62fac-c61c-5701-871d-48aa8ee9ff17)
Edition*
Language*
Software edition*
Target softwareruby
Target hardware*
Other*

Notes

Imported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:deb/debian/ruby-nokogiri purl2cpe 2026-06-01 10:14:49.593898
pkg:deb/ubuntu/ruby-nokogiri purl2cpe 2026-06-01 10:14:49.593900
pkg:gem/nokogiri purl2cpe 2026-06-01 10:14:49.593902
pkg:github/sparklemotion/nokogiri purl2cpe 2026-06-01 10:14:49.593903
pkg:rpm/fedora/rubygem-nokogiri purl2cpe 2026-06-01 10:14:49.593905
pkg:rpm/opensuse/rubygem-nokogiri purl2cpe 2026-06-01 10:14:49.593907

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-79770 vulnerable 2026-10-13 12:29:14.448971 Nokogiri before 1.19.3 ReDoS via CSS selector tokenizer
HIGH (7.5)
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 adversarial CSS selectors into methods like Node#css, Node#at_css, and Searchable#search to cause exponential regex backtracking and denial of service.
Published: 2026-08-25T15:16:03.059Z
Updated: 2026-09-16T15:51:27.061Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-29181 vulnerable 2026-06-08 05:42:47.286964 Improper Handling of Unexpected Data Type in Nokogiri
HIGH (8.2)
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 inputs to cause illegal memory access errors (segfault) or reads from unrelated memory. Version 1.13.6 contains a patch for this issue. As a workaround, ensure the untrusted input is a `String` by calling `#to_s` or equivalent.
Published: 2022-05-20T00:00:00.000Z
Updated: 2025-05-27T14:51:01.821Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-24836 vulnerable 2026-06-08 05:41:44.726975 Inefficient Regular Expression Complexity in Nokogiri
HIGH (7.5)
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 encoding in HTML documents. Users are advised to upgrade to Nokogiri `>= 1.13.4`. There are no known workarounds for this issue.
Published: 2022-04-11T00:00:00.000Z
Updated: 2024-09-03T12:03:46.858Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-41098 vulnerable 2026-06-08 05:35:19.734692 Improper Restriction of XML External Entity Reference (XXE) in Nokogiri on JRuby
HIGH (7.5)
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.
Published: 2021-09-27T19:35:11.000Z
Updated: 2024-08-04T02:59:31.455Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-26247 vulnerable 2026-06-08 05:23:50.961387 XXE in Nokogiri
LOW (2.6)
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.
Published: 2020-12-30T00:00:00.000Z
Updated: 2024-08-04T15:56:04.939Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2018-25032 vulnerable 2026-06-08 05:11:29.211775 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.