Skip to content
OpenAdvisories
Medium CVE-2011-0446 EUVD-2017-0182GHSA-75w6-p6mg-vh8j

Rails actionpack gem vulnerable to Cross-site Scripting

Published Feb 14, 2011 · Updated Aug 6, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rails 2.3.11-0.1 —
Debian 13 rails 2.3.11-0.1 —
Debian 12 rails 2.3.11-0.1 —
Debian 6.0 rails 2.3.5-1.2+squeeze0.1 DSA-2247-1
Debian 5.0 rails 2.1.0-7+lenny0.1 DSA-2247-1

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems actionpack < 2.3.11 2.3.11 GHSA-75w6-p6mg-vh8j
RubyGems actionpack >= 3.0.0, < 3.0.4 3.0.4 GHSA-75w6-p6mg-vh8j
RubyGems actionview < 2.3.11 2.3.11 GHSA-75w6-p6mg-vh8j
RubyGems actionview >= 3.0.0, < 3.0.4 3.0.4 GHSA-75w6-p6mg-vh8j

Advisories 1

References