Duplicate Advisory: Nokogiri CSS selector tokenizer has regular expression backtracking
High severity
GitHub Reviewed
Published
Aug 25, 2026
to the GitHub Advisory Database
•
Updated Sep 2, 2026
Withdrawn
This advisory was withdrawn on Sep 2, 2026
Description
Published by the National Vulnerability Database
Aug 25, 2026
Published to the GitHub Advisory Database
Aug 25, 2026
Reviewed
Sep 2, 2026
Withdrawn
Sep 2, 2026
Last updated
Sep 2, 2026
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-c4rq-3m3g-8wgx. This link is maintained to preserve external references.
Original 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.
References