Back
CVE-2012-1098
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…
Medium4.3EPSS 2.6%
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
- EPSS (exploitation in 30 days)
- 2.6% · top 14% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsactivesupportGHSA-qv8p-v9qw-wc7g (opens in a new tab)
References (6)
- FEDORA-2012-3321 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- [oss-security] 20120302 Re: CVE Request -- Ruby on Rails (v3.0.12) / rubygem-actionpack: Two XSS flaws (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=799275 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20120302 CVE Request -- Ruby on Rails (v3.0.12) / rubygem-actionpack: Two XSS flaws (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [rubyonrails-security] 20120301 Possible XSS Security Vulnerability in SafeBuffer#[] (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://weblog.rubyonrails.org/2012/3/1/ann-rails-3-0-12-has-been-released (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-qv8p-v9qw-wc7g (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .