CVE Catalog

CVE-2026-79770

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.28%

20th percentile - higher than 20% of all known CVEs

Summary

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.

Risk Assessment

The risk includes the possibility of application unavailability due to CPU exhaustion caused by malicious CSS selectors.

Recommendation

It is recommended to upgrade to version 1.19.3 or later and validate input used in CSS selectors.

Other vulnerabilities in Nokogiri

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS