XSS in Rubyonrails Rails
CVE-2011-0446
Multiple cross-site scripting (XSS) vulnerabilities in the mail_to helper in Ruby on Rails before 2.3.11, and 3.x before 3.0.4, when javascript encoding is used, allow remote attackers to inject arbitrary web script or HTML via a crafted (1) name or (2) email value.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.024, 84.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rubyonrails Rails — versions 2.0.0, 2.0.1, 2.0.2
Weakness classification (CWE)
References
- ADV-2011-0587 (vdb-entry)
- FEDORA-2011-2138 (vendor-advisory)
- www.securityfocus.com/bid/46291 (vdb-entry)
- DSA-2247 (vendor-advisory)
- FEDORA-2011-4358 (vendor-advisory)
- secunia.com/advisories/43274 (third-party-advisory)
- www.securitytracker.com/id (vdb-entry)
- [rubyonrails-security] 20110209 Potential XSS Problem with mail_to :encode => :javascript (mailing-list, Patch)
- ADV-2011-0877 (vdb-entry)
- FEDORA-2011-2133 (vendor-advisory)