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
01 Sep 2026, 14:56
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:ruby:*:* | |
| First Time |
Nokogiri nokogiri
Nokogiri |
|
| References | () https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-c4rq-3m3g-8wgx - Mitigation, Vendor Advisory | |
| References | () https://www.vulncheck.com/advisories/nokogiri-before-redos-via-css-selector-tokenizer - Third Party Advisory |
25 Aug 2026, 16:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
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
