ADVISORIES

GitHub Advisory Database

GHSA-7g65-ghrg-hpf5

actionpack Cross-site Scripting vulnerability

Moderate CVE-2012-3465

Details

Cross-site scripting (XSS) vulnerability in actionpack/lib/action_view/helpers/sanitize_helper.rb in the strip_tags helper in Ruby on Rails before 2.3.16, 3.0.x before 3.0.17, 3.1.x before 3.1.8, and 3.2.x before 3.2.8 allows remote attackers to inject arbitrary web script or HTML via malformed HTML markup.

Affected packages

EcosystemPackageAffected versions
RubyGemsactionpack
From 3.0.0.beta before 3.0.17 (fixed in 3.0.17)
RubyGemsactionpack
From 3.1.0 before 3.1.8 (fixed in 3.1.8)
RubyGemsactionpack
From 3.2.0 before 3.2.8 (fixed in 3.2.8)
RubyGemsactionpack
All versions before 2.3.16 (fixed in 2.3.16)

References