ADVISORIES

GitHub Advisory Database

GHSA-75w6-p6mg-vh8j

Rails actionpack gem vulnerable to Cross-site Scripting

Moderate CVE-2011-0446

Details

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.

Affected packages

EcosystemPackageAffected versions
RubyGemsactionpack
All versions before 2.3.11 (fixed in 2.3.11)
RubyGemsactionpack
From 3.0.0 before 3.0.4 (fixed in 3.0.4)
RubyGemsactionview
All versions before 2.3.11 (fixed in 2.3.11)
RubyGemsactionview
From 3.0.0 before 3.0.4 (fixed in 3.0.4)

References