Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nokogiri | Nokogiri | < 1.19.3 |
Related Weaknesses (CWE)
References
- https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-c4rq-3m3g-8wgMitigationVendor Advisory
- https://www.vulncheck.com/advisories/nokogiri-before-redos-via-css-selector-tokeThird Party Advisory
FAQ
What is CVE-2026-79770?
CVE-2026-79770 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 ad...
How severe is CVE-2026-79770?
CVE-2026-79770 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-79770?
Check the references section above for vendor advisories and patch information. Affected products include: Nokogiri Nokogiri.