Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2015-3226

rubygem-activesupport: XSS Vulnerability in ActiveSupport::JSON.encode

Overview

Published
26 Jul 2015
Modified
6 May 2026
Medium CVE
1 Registry packages
11 OS packages
4 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

4.3 · MEDIUM

CVSS 2.0 base score, scored by NVD.

Access vector
Network
Access complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

AV:N/AC:M/Au:N/C:N/I:P/A:N

Weakness: CWE-79

Affected packages · 1

Packages affected by CVE-2015-3226
EcosystemPackageVulnerableFixed in
RubyGems activesupport >=4.1.0, <4.1.11>=4.2.0, <4.2.2 4.1.114.2.2~> 4.1.11

Open a package to see all its vulnerabilities.

Operating systems · 8 fixes

Red Hat 1 release · 1 package

wont fix 1
rh-ror41-rubygem-activesupport
Red Hat fixes for CVE-2015-3226
ReleasePackageFixed in
7 rh-ror41-rubygem-activesupport +1 wont fix

debian 4 releases · 1 package

fixed 4
rails
debian fixes for CVE-2015-3226
ReleasePackageFixed in
11 rails 2:4.2.4-2
12 rails 2:4.2.4-2
13 rails 2:4.2.4-2
14 rails 2:4.2.4-2

echo 1 release · 1 package

fixed 1
rails
echo fixes for CVE-2015-3226
ReleasePackageFixed in
rails 2:4.2.4-2

openSUSE 1 release · 2 packages

fixed 2
ruby2-2-rubygem-activesupport-4-2 ruby2-2-rubygem-activesupport-5-0
openSUSE fixes for CVE-2015-3226
ReleasePackageFixed inAdvisory
Tumbleweed ruby2-2-rubygem-activesupport-4-2 +3 4.2.7.1-1.1 openSUSE-SU-2024:10574-1
Tumbleweed ruby2-2-rubygem-activesupport-5-0 +3 5.0.0.1-1.1 openSUSE-SU-2024:10574-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.