CVE-2015-3226: XSS

Published Jul 26, 2015
·
Updated

Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 3.x and 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.

Other sources

Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 3.x and 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.

Affected Software

34 affected componentsFixes available
rubygems/activesupport>=3.0.0<=3.2.22.4
3.2.22.5
rubygems/activesupport>=4.2.0<4.2.2
4.2.2
rubygems/activesupport>=4.1.0<4.1.11
4.1.11
rubyonrails Rails=3.0.0
rubyonrails Rails=3.1.0
rubyonrails Rails=3.2.0
rubyonrails Rails=3.2.1
rubyonrails Rails=3.2.2
rubyonrails Rails=3.2.3
rubyonrails Rails=3.2.4
rubyonrails Rails=3.2.5
rubyonrails Rails=3.2.6
rubyonrails Rails=3.2.7
rubyonrails Rails=3.2.8
rubyonrails Rails=3.2.9
rubyonrails Rails=3.2.10
rubyonrails Rails=3.2.11
rubyonrails Rails=3.2.12
rubyonrails Rails=3.2.13
rubyonrails Rails=3.2.15
rubyonrails Rails=3.2.16
rubyonrails Rails=3.2.17
rubyonrails Rails=4.1.0
rubyonrails Rails=4.1.1
rubyonrails Rails=4.1.2
rubyonrails Rails=4.1.3
rubyonrails Rails=4.1.4
rubyonrails Rails=4.1.5
rubyonrails Rails=4.1.6
rubyonrails Rails=4.1.7
rubyonrails Rails=4.1.8
rubyonrails Rails=4.2.0
rubyonrails Rails=4.2.1
rubyonrails ruby on Rails=3.2.14

Event History

Jul 26, 2015
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Oct 24, 2017
Advisory Published
06:33 PM

Frequently Asked Questions

1

What is the severity of CVE-2015-3226?

CVE-2015-3226 is classified as a medium-severity cross-site scripting (XSS) vulnerability.

2

How do I fix CVE-2015-3226?

To fix CVE-2015-3226, update Active Support to version 3.2.22.5 or newer, 4.1.11 or newer, or 4.2.2 or newer.

3

What versions of Active Support are affected by CVE-2015-3226?

CVE-2015-3226 affects Active Support versions prior to 3.2.22.5, 4.1.11, and 4.2.2.

4

Can CVE-2015-3226 be exploited remotely?

Yes, CVE-2015-3226 allows remote attackers to inject arbitrary web scripts or HTML.

5

What systems are vulnerable to CVE-2015-3226?

CVE-2015-3226 affects Ruby on Rails 3.x and 4.x versions before their respective patched releases.

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