CVE-2012-1098 json
activesupport Cross-site Scripting vulnerability
published 2012-03-13 14 y ago modified 2026-06-16 4 mo ago also GHSA-qv8p-v9qw-wc7g , EUVD-2017-0294
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.6%
- EPSS 2.6% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
Cross-site scripting (XSS) vulnerability in Ruby on Rails 3.0.x before 3.0.12, 3.1.x before 3.1.4, and 3.2.x before 3.2.2 allows remote attackers to inject arbitrary web script or HTML via vectors involving a SafeBuffer object that is manipulated through certain methods.
Patch / fix
- rubygems activesupport 3.0.12, 3.1.4, 3.2.2
- rails Debian 14, Debian 13, Debian 12 2.3.14
debian advisories DEBIAN-CVE-2012-1098
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-2012-1098 updated cvss 4.3
rubygem-activesupport: XSS in SafeBuffer#[] (unescaped safe buffers can be marked as safe)
-
Red Hat Subscription Asset Manager rubygem-activesupportaffected: no fix available
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.65% chance of exploitation in the next 30 days, higher than 85% 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 | >=3.0.0, <3.0.12 >=3.1.0, <3.1.4 >=3.2.0, <3.2.2 |
3.0.12 3.1.4 3.2.2 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
lists.fedoraproject.org
/pipermail/package-announce/2012-March/075675.html
vendor-advisory, web
-
openwall.com
/lists/oss-security/2012/03/03/1
mailing-list, web
-
bugzilla.redhat.com
/show_bug.cgi?id=799275
web
-
openwall.com
/lists/oss-security/2012/03/02/6
mailing-list, web
-
groups.google.com
/group/rubyonrails-security/msg/1c2e01a5e42722c9?dmode=source&output=gplain
mailing-list, web
-
weblog.rubyonrails.org
/2012/3/1/ann-rails-3-0-12-has-been-released
web
-
nvd.nist.gov
/vuln/detail/CVE-2012-1098
advisory
Sources
- CVE List CVE-2012-1098
- GitHub Advisory GHSA-qv8p-v9qw-wc7g
- NVD CVE-2012-1098
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.