CVE-2015-3226
activesupport Cross-site Scripting vulnerability
Reported by redhat · Published July 26, 2015
activesupport is fixed in 4.2.2 and 4.1.11 (RubyGems)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| activesupport | RubyGems | 4.2.2, 4.1.11 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| RubyGems | activesupport | 4.1.0, 4.2.0 |
| n/a | n/a | * |
Timeline
- Jun 16, 2015 PoC Published
- Jul 26, 2015 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Aug 6, 2024 CVE Updated
- Mar 17, 2026 Security Advisory (2 in total, the first dated here)
- Oct 15, 2026 Coalition ESS Score
- Oct 31, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2015-3226
vulnetix vdb fixes CVE-2015-3226
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2015-3226/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 1033755 vdb-entryx_refsource_SECTRACK
- [rubyonrails-security] 20150616 [CVE-2015-3226] XSS Vulnerability in ActiveSupport::JSON.encode mailing-listx_refsource_MLIST
- 75231 vdb-entryx_refsource_BID
- [oss-security] 20150616 [CVE-2015-3226] XSS Vulnerability in ActiveSupport::JSON.encode mailing-listx_refsource_MLIST
- DSA-3464 vendor-advisoryx_refsource_DEBIAN
- https://nvd.nist.gov/vuln/detail/CVE-2015-3226 advisory
- https://github.com/advisories/GHSA-vxvp-4xwc-jpp6 advisory
- https://github.com/rails/rails url
- https://groups.google.com/g/rubyonrails-core/c/qBUqVlXERag/m/kuH3wQk1kxUJ url
- https://web.archive.org/web/20200228033946/http://www.securityfocus.com/bid/75231 url
- https://web.archive.org/web/20200517005133/http://www.securitytracker.com/id/1033755 url