A AegiFlow
HIGHCVSS 8.7

GHSA-5jhf-fpp7-v2pv

Duplicate Advisory: Nokogiri CSS selector tokenizer has regular expression backtracking

Published
2026-08-25
Modified
2026-09-02
Sources
github-advisory

Summary

## 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.

Affected packages

EcosystemPackageAffected versionsFixed versions
RubyGemsnokogiri

Remediation: No patched version is listed by GitHub.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.