ADVISORIES

Vulnerability

CVE-2025-27220

In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the Util#escapeElement method.

97 advisories report this vulnerability, across 14 ecosystems.

Advisories in RubyGems

  • GHSA-mhwm-jh88-3gjf

    CGI has Regular Expression Denial of Service (ReDoS) potential in Util#escapeElement

    Moderate CVE-2025-27220 RubyGems Updated 10 September 2026

References