Skip to main content
← All vulnerabilities
CVE-2026-79770GHSA-C4RQ-3M3G-8WGX

Nokogiri before 1.19.3 ReDoS via CSS selector tokenizer

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.19.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • sparklemotion nokogiri

    fixed in 1.19.3

  • nokogiriRubyGems

    fixed in 1.19.3

References 2

GitHub · sparklemotion/nokogiri

vulncheck.com