cve.bz

CVE-2015-3226 rubyonrails: Cross-site Scripting

no score yetEPSS 2.8%Fix available

rubyonrails: no CVSS score yet. EPSS 2.8% estimated probability of exploitation activity in the next 30 days. Fixed in activesupport 4.1.11, 4.2.2.

On this page
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.
EPSS
2.8% (unchanged from 2.8% a week ago; 2.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 87th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2015-3226 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-3226?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-3226?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2015-3226 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
rubyonrails:rails3.0.0
rubyonrails:rails3.1.0
rubyonrails:rails3.2.0
rubyonrails:rails3.2.1
rubyonrails:rails3.2.2
rubyonrails:rails3.2.3
rubyonrails:rails3.2.4
rubyonrails:rails3.2.5
rubyonrails:rails3.2.6
rubyonrails:rails3.2.7
rubyonrails:rails3.2.8
rubyonrails:rails3.2.9
rubyonrails:rails3.2.10
rubyonrails:rails3.2.11
rubyonrails:rails3.2.12
rubyonrails:rails3.2.13
rubyonrails:rails3.2.15
rubyonrails:rails3.2.16
rubyonrails:rails3.2.17
rubyonrails:rails4.1.0
rubyonrails:rails4.1.1
rubyonrails:rails4.1.2
rubyonrails:rails4.1.3
rubyonrails:rails4.1.4
rubyonrails:rails4.1.5
rubyonrails:rails4.1.6
rubyonrails:rails4.1.7
rubyonrails:rails4.1.8
rubyonrails:rails4.2.0
rubyonrails:rails4.2.1
rubyonrails:ruby_on_rails3.2.14

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vxvp-4xwc-jpp6RubyGemsactivesupport>=4.1.0 <4.1.114.1.11
GHSA-vxvp-4xwc-jpp6RubyGemsactivesupport>=4.2.0 <4.2.24.2.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8rails2:4.1.8-1+deb8u1DSA-3464-1
Debian12, 13, 14rails2:4.2.4-2DEBIAN-CVE-2015-3226
SUSEOpenStack Cloud 5rubygem-activesupport-4_14.1.9-9.2SUSE-SU-2016:0082-1
openSUSETumbleweedrubygem-activesupport-4_25.0.0.1-1.1openSUSE-SU-2024:10574-1

From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
CloudForms Management Engine 5ruby193-rubygem-activesupportWill not fix
Red Hat Software Collectionsrh-ror41-rubygem-activesupportWill not fix
Red Hat Software Collectionsror40-rubygem-activesupportNot affected
Red Hat Software Collectionsruby193-rubygem-activesupportWill not fix
Red Hat Subscription Asset Managerruby193-rubygem-activesupportWill not fix
Red Hat Subscription Asset Managerrubygem-activesupportWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2015-3226.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON