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.
References
| Link | Resource |
|---|---|
| https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-c4rq-3m3g-8wgx | Mitigation Vendor Advisory |
| https://www.vulncheck.com/advisories/nokogiri-before-redos-via-css-selector-tokenizer | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2026-08-25 16:17
Updated : 2026-09-01 14:56
NVD link : CVE-2026-79770
Mitre link : CVE-2026-79770
CVE.ORG link : CVE-2026-79770
JSON object : View
Products Affected
nokogiri
- nokogiri
CWE
CWE-1333
Inefficient Regular Expression Complexity
