CVE-2025-27220
MEDIUMCGI gem < 0.3.5.1 - Regular Expression Denial of Service in Util#escapeElement
Title source: llmDescription
In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the Util#escapeElement method.
References (3)
Core 3
Core References
Third Party Advisory
https://github.com/rubysec/ruby-advisory-db/blob/master/gems/cgi/CVE-2025-27220.yml
Permissions Required
https://hackerone.com/reports/2890322
Scores
CVSS v3
4.0
EPSS
0.0070
EPSS Percentile
48.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-1333
Status
published
Products (3)
ruby-lang/cgi
0.3.6
ruby-lang/cgi
< 0.3.5.1
rubygems/cgi
0 - 0.3.5.1RubyGems
Published
Mar 04, 2025
Tracked Since
Feb 18, 2026