CWE
79
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2011-2931: XSS

First published: Wed Aug 17 2011(Updated: )

An XSS vulnerability in the strip_tags helper in Ruby on Rails was reported [1] where, using specially crafted output, an attacker can successfully inject HTML into the document, which can be used to inject arbitrary javascript into the rendered page. This is corrected in upstream 3.0.10, 2.3.13, and 3.1.0rc5 versions. Patches are available in the advisory [1] and in git [2]. [1] <a href="http://groups.google.com/group/rubyonrails-security/browse_thread/thread/2b9130749b74ea12">http://groups.google.com/group/rubyonrails-security/browse_thread/thread/2b9130749b74ea12</a> [2] <a href="https://github.com/rails/rails/commit/586a944ddd4d03e66dea1093306147594748037a">https://github.com/rails/rails/commit/586a944ddd4d03e66dea1093306147594748037a</a>

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Rubyonrails Ruby On Rails=3.0.4
Rubyonrails Rails=2.0.1
Rubyonrails Rails=2.0.2
Rubyonrails Rails=2.0.4
Rubyonrails Rails=2.1.0
Rubyonrails Rails=2.1.1
Rubyonrails Rails=2.1.2
Rubyonrails Rails=2.2.0
Rubyonrails Rails=2.2.1
Rubyonrails Rails=2.2.2
Rubyonrails Rails=2.3.2
Rubyonrails Rails=2.3.3
Rubyonrails Rails=2.3.4
Rubyonrails Rails=2.3.9
Rubyonrails Rails=2.3.10
Rubyonrails Rails=2.3.11
Rubyonrails Rails=2.3.12
Rubyonrails Rails=2.0.0-rc1
Rubyonrails Rails=2.0.0-rc2
Rubyonrails Rails=2.0.0
Rubyonrails Rails=3.0.0-beta
Rubyonrails Rails=3.0.0-beta2
Rubyonrails Rails=3.0.0-beta3
Rubyonrails Rails=3.0.0-beta4
Rubyonrails Rails=3.0.0-rc
Rubyonrails Rails=3.0.0-rc2
Rubyonrails Rails=3.0.1-pre
Rubyonrails Rails=3.0.2-pre
Rubyonrails Rails=3.0.0
Rubyonrails Rails=3.0.10-rc1
Rubyonrails Rails=3.1.0-beta1
Rubyonrails Rails=3.1.0-rc1
Rubyonrails Rails=3.1.0-rc2
Rubyonrails Rails=3.1.0-rc3
Rubyonrails Rails=3.1.0-rc4
Rubyonrails Rails=3.1.0
Rubyonrails Rails=3.0.1
Rubyonrails Rails=3.0.2
Rubyonrails Rails=3.0.3
Rubyonrails Rails=3.0.4-rc1
Rubyonrails Rails=3.0.5
Rubyonrails Rails=3.0.5-rc1
Rubyonrails Rails=3.0.6-rc1
Rubyonrails Rails=3.0.6-rc2
Rubyonrails Rails=3.0.6
Rubyonrails Rails=3.0.7-rc1
Rubyonrails Rails=3.0.7-rc2
Rubyonrails Rails=3.0.7
Rubyonrails Rails=3.0.8-rc1
Rubyonrails Rails=3.0.8-rc2
Rubyonrails Rails=3.0.8-rc3
Rubyonrails Rails=3.0.8-rc4
Rubyonrails Rails=3.0.8
Rubyonrails Rails=3.0.9-rc1
Rubyonrails Rails=3.0.9-rc2
Rubyonrails Rails=3.0.9-rc3
Rubyonrails Rails=3.0.9-rc4
Rubyonrails Rails=3.0.9
Rubyonrails Rails=3.0.9-rc5
redhat/rubygem-actionpack<2.3.13
2.3.13
redhat/rubygem-actionpack<3.0.10
3.0.10
redhat/rubygem-actionpack<3.1.0
3.1.0
rubygems/actionpack>=3.0.0<3.0.10
3.0.10
rubygems/actionpack>=2.0.0<2.3.13
2.3.13

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203