-
CVSS Score
-Basic Information
CVE ID
-
GHSA ID
-
EPSS Score
-
CWE
-
Published
-
Updated
-
KEV Status
-
Technology
-
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| sisimai | rubygems | < 4.25.14p12 | 4.25.14p12 |
The vulnerability stems from two regex patterns in the to_plain method:
%r|<head>.+</head>|im - Greedy .+ between <head> tags causes excessive backtracking on malformed/nested content.%r|<style.+?>.+</style>|im - The outer .+? and inner .+ create ambiguity in matching style tag boundaries.
The patch replaced these with non-greedy quantifiers (.*?), confirming the root cause. The CWE-1333 classification and exploit example further validate the regex inefficiency in this specific function.Ongoing coverage of React2Shell