Skip to content
CVE PROGRAM SOURCE RECORD8.7 High

CVE-2026-79770

Nokogiri before 1.19.3 ReDoS via CSS selector tokenizer

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

sparklemotion nokogiri

Default version status: unaffected

  • 0 to < 1.19.3affected
  • 1.19.3unaffected
pkg:gem/nokogiri

References