CVE-2026-79770
Nokogiri before 1.19.3 ReDoS via CSS selector tokenizer
- State
- Published
- Severity
- 8.7 High
- Published
- Aug 25, 2026
- Updated
- Sep 16, 2026
- Reserved
- Aug 25, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.7 High | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | VulnCheck |
Weaknesses
- CWE-1333 Inefficient Regular Expression Complexity
Affected Products
| Product | Versions |
|---|---|
nokogirisparklemotion |
|
References
- GitHub Security Advisory (GHSA-c4rq-3m3g-8wgx)vendor-advisory
- VulnCheck Advisory: Nokogiri before 1.19.3 ReDoS via CSS selector tokenizerthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.