CVE-2011-1497:
Cross site scripting in actionpack Rubygem
6.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.55098%
CWE
Published
4/22/2022
Updated
1/20/2025
KEV Status
No
Technology
Ruby
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
actionpack | rubygems | >= 3.0.0.rc, < 3.0.6 | 3.0.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The GitHub patch (61ee344) explicitly removes .html_safe calls from auto_link's return values and blank text handling. The CVE description and advisory explicitly name auto_link as the vulnerable function. The commit message states the root cause: returning HTML-safe strings enabled XSS when unsanitized input was passed to auto_link. Test cases in text_helper_test.rb were updated to verify the removal of HTML-safe marking.