CVE-2015-3226
publishedrubygem-activesupport: XSS Vulnerability in ActiveSupport::JSON.encode
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Debian | jessie | rails | Advisory build | 2:4.1.8-1+deb8u1 | DSA-3464-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-rubygem-activesupport-4_2aarch64 | Advisory build | 4.2.7.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-rubygem-activesupport-4_2ppc64le | Advisory build | 4.2.7.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-rubygem-activesupport-4_2s390x | Advisory build | 4.2.7.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-rubygem-activesupport-4_2x86_64 | Advisory build | 4.2.7.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-rubygem-activesupport-5_0aarch64 | Advisory build | 5.0.0.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-rubygem-activesupport-5_0ppc64le | Advisory build | 5.0.0.1-1.1 | OPENSUSE-SU-2024:10574-1 |
Show 26 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-rubygem-activesupport-5_0s390x | Advisory build | 5.0.0.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-rubygem-activesupport-5_0x86_64 | Advisory build | 5.0.0.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-rubygem-activesupport-doc-4_2aarch64 | Advisory build | 4.2.7.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-rubygem-activesupport-doc-4_2ppc64le | Advisory build | 4.2.7.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-rubygem-activesupport-doc-4_2s390x | Advisory build | 4.2.7.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-rubygem-activesupport-doc-4_2x86_64 | Advisory build | 4.2.7.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-rubygem-activesupport-doc-5_0aarch64 | Advisory build | 5.0.0.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-rubygem-activesupport-doc-5_0ppc64le | Advisory build | 5.0.0.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-rubygem-activesupport-doc-5_0s390x | Advisory build | 5.0.0.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.2-rubygem-activesupport-doc-5_0x86_64 | Advisory build | 5.0.0.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.3-rubygem-activesupport-4_2aarch64 | Advisory build | 4.2.7.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.3-rubygem-activesupport-4_2ppc64le | Advisory build | 4.2.7.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.3-rubygem-activesupport-4_2s390x | Advisory build | 4.2.7.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.3-rubygem-activesupport-4_2x86_64 | Advisory build | 4.2.7.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.3-rubygem-activesupport-5_0aarch64 | Advisory build | 5.0.0.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.3-rubygem-activesupport-5_0ppc64le | Advisory build | 5.0.0.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.3-rubygem-activesupport-5_0s390x | Advisory build | 5.0.0.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.3-rubygem-activesupport-5_0x86_64 | Advisory build | 5.0.0.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.3-rubygem-activesupport-doc-4_2aarch64 | Advisory build | 4.2.7.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.3-rubygem-activesupport-doc-4_2ppc64le | Advisory build | 4.2.7.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.3-rubygem-activesupport-doc-4_2s390x | Advisory build | 4.2.7.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.3-rubygem-activesupport-doc-4_2x86_64 | Advisory build | 4.2.7.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.3-rubygem-activesupport-doc-5_0aarch64 | Advisory build | 5.0.0.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.3-rubygem-activesupport-doc-5_0ppc64le | Advisory build | 5.0.0.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.3-rubygem-activesupport-doc-5_0s390x | Advisory build | 5.0.0.1-1.1 | OPENSUSE-SU-2024:10574-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.3-rubygem-activesupport-doc-5_0x86_64 | Advisory build | 5.0.0.1-1.1 | OPENSUSE-SU-2024:10574-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
5- [oss-security] 20150616 [CVE-2015-3226] XSS Vulnerability in ActiveSupport::JSON.encode http://openwall.com/lists/oss-security/2015/06/16/17
- DSA-3464 http://www.debian.org/security/2016/dsa-3464
- 75231 http://www.securityfocus.com/bid/75231
- 1033755 http://www.securitytracker.com/id/1033755
- [rubyonrails-security] 20150616 [CVE-2015-3226] XSS Vulnerability in ActiveSupport::JSON.encode https://groups.google.com/forum/message/raw?msg=rubyonrails-security/7VlB_pck3hU/3QZrGIaQW6cJ
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 585820c101ae6880fc4d6f90598e2d536009a0f700bacaddd5183593a3efdc97
- Ingested
- 23 Sep 2026, 07:40:35 UTC
- Source record
- Official CVE record