Skip to content
Fencer Intel
medium 4.3

CVE-2015-3226 json

activesupport Cross-site Scripting vulnerability

published 11y ago modified 4mo ago also GHSA-vxvp-4xwc-jpp6 , EUVD-2017-0317

cvss
4.3
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.8%
EPSS 2.8% chance of exploitation in 30 days, percentile 86%
public exploits
0
none known

Summary

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.

Patch / fix

  • rubygems activesupport 4.1.11, 4.2.2
  • rails Debian 14, Debian 13, Debian 12 2:4.2.4-2

debian advisories DEBIAN-CVE-2015-3226

  • rubygem-activesupport-4_1 OpenStack Cloud 5 4.1.9-9.2

suse advisories SUSE-SU-2016:0082-1

  • rubygem-activesupport-4_2 openSUSE Tumbleweed 5.0.0.1-1.1

opensuse advisories openSUSE-SU-2024:10574-1

Is CVE-2015-3226 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2015-3226 updated cvss 4.3

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

  • Red Hat CloudForms Management Engine 5 ruby193-rubygem-activesupport Red Hat Software Collections ruby193-rubygem-activesupport, rh-ror41-rubygem-activesupport Red Hat Subscription Asset Manager rubygem-activesupport, ruby193-rubygem-activesupport
    affected: no fix planned “Will not fix”
  • Red Hat Software Collections ror40-rubygem-activesupport
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.76% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected packages

ecosystem package affected fixed in
rubygems activesupport
>=4.1.0, <4.1.11
>=4.2.0, <4.2.2
4.1.11
4.2.2

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.