CWE
79
Advisory Published
Updated

CVE-2015-7579: XSS

First published: Tue Feb 16 2016(Updated: )

Cross-site scripting (XSS) vulnerability in the rails-html-sanitizer gem 1.0.2 for Ruby on Rails 4.2.x and 5.x allows remote attackers to inject arbitrary web script or HTML via an HTML entity that is mishandled by the Rails::Html::FullSanitizer class.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Ruby on Rails HTML Sanitizer<=1.0.2
Ruby on Rails=4.2.0
Ruby on Rails=4.2.0-beta1
Ruby on Rails=4.2.0-beta2
Ruby on Rails=4.2.0-beta3
Ruby on Rails=4.2.0-beta4
Ruby on Rails=4.2.0-rc1
Ruby on Rails=4.2.0-rc2
Ruby on Rails=4.2.0-rc3
Ruby on Rails=4.2.1
Ruby on Rails=4.2.1-rc1
Ruby on Rails=4.2.1-rc2
Ruby on Rails=4.2.1-rc3
Ruby on Rails=4.2.1-rc4
Ruby on Rails=4.2.2
Ruby on Rails=4.2.3
Ruby on Rails=4.2.3-rc1
Ruby on Rails=4.2.4
Ruby on Rails=4.2.4-rc1
Ruby on Rails=4.2.5
Ruby on Rails=4.2.5-rc1
Ruby on Rails=4.2.5-rc2
Ruby on Rails=4.2.5.1
Ruby on Rails=4.2.5.2
Ruby on Rails=4.2.6-rc1
Ruby on Rails=5.0.0-beta1
Ruby on Rails=5.0.0-beta1.1
Ruby on Rails=5.0.0-beta2
Ruby on Rails=5.0.0-beta3

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.

Frequently Asked Questions

  • What is the severity of CVE-2015-7579?

    CVE-2015-7579 has a high severity level due to its potential to allow remote attackers to execute arbitrary web scripts or HTML.

  • How do I fix CVE-2015-7579?

    To fix CVE-2015-7579, upgrade the rails-html-sanitizer gem to version 1.0.3 or later.

  • Which versions are affected by CVE-2015-7579?

    CVE-2015-7579 affects rails-html-sanitizer gem versions up to and including 1.0.2.

  • What type of vulnerability is CVE-2015-7579?

    CVE-2015-7579 is a cross-site scripting (XSS) vulnerability.

  • Can CVE-2015-7579 impact my Ruby on Rails application?

    Yes, if you are using an affected version of the rails-html-sanitizer gem in your Ruby on Rails application, it can be exploited by attackers.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203