rubygem-activesupport: XSS in SafeBuffer#[] (unescaped safe buffers can be marked as safe)
Published Mar 13, 2012
4.3
MEDIUMCVSS 2.0
EPSS 2.74%
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.
Affected products
No data.
Configuration 1
- 3.0.0
- 3.0.0
- 3.0.0
- 3.0.0
- 3.0.0
- 3.0.0
- 3.0.0
- 3.0.1
- 3.0.1
- 3.0.2
- 3.0.2
- 3.0.3
- 3.0.4
- 3.0.5
- 3.0.5
- 3.0.6
- 3.0.6
- 3.0.6
- 3.0.7
- 3.0.7
- 3.0.7
- 3.0.8
- 3.0.8
- 3.0.8
- 3.0.8
- 3.0.8
- 3.0.9
- 3.0.9
- 3.0.9
- 3.0.9
- 3.0.9
- 3.0.9
- 3.0.10
- 3.0.10
- 3.0.11
- 3.0.12
- 3.0.4
Configuration 2
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.1
- 3.1.1
- 3.1.1
- 3.1.1
- 3.1.2
- 3.1.2
- 3.1.2
- 3.1.3
- 3.1.4
Configuration 3
- 3.2.0
- 3.2.0
- 3.2.0
- 3.2.1
- 3.2.2
No data.
Red Hat Subscription Asset Manager
rubygem-activesupport
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Subscription Asset Manager | rubygem-activesupport | Affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.74% (0.02745) | 85.65th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.14% (0.02137) | 79.57th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.38% (0.00377) | 57.21th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.24% (0.00243) | 64.83th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.24% (0.00243) | 63.37th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.24% (0.00243) | 60.38th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.32% (0.01319) | 71.27th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.32% (0.01319) | 71.23th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.32% (0.01319) | 69.22th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.32% (0.01319) | 44.98th | v2 (v2022.01.01) |
References (10)
- http://groups.google.com/group/rubyonrails-security/msg/1c2e01a5e42722c9?dmode=source&output=gplain mailing-listx_refsource_MLIST
- http://lists.fedoraproject.org/pipermail/package-announce/2012-March/075675.html vendor-advisoryx_refsource_FEDORA
- http://weblog.rubyonrails.org/2012/3/1/ann-rails-3-0-12-has-been-released x_refsource_CONFIRM
- http://www.openwall.com/lists/oss-security/2012/03/02/6 mailing-listx_refsource_MLIST
- http://www.openwall.com/lists/oss-security/2012/03/03/1 mailing-listx_refsource_MLIST
- https://access.redhat.com/security/cve/CVE-2012-1098 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=799275 x_refsource_CONFIRMIssue Tracking
- https://github.com/advisories/GHSA-qv8p-v9qw-wc7g Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2012-1098
- https://www.cve.org/CVERecord?id=CVE-2012-1098
| Link | Providers | Tags |
|---|---|---|
| http://groups.google.com/group/rubyonrails-security/msg/1c2e01a5e42722c9?dmode=source&output=gplain | mailing-listx_refsource_MLIST | |
| http://lists.fedoraproject.org/pipermail/package-announce/2012-March/075675.html | vendor-advisoryx_refsource_FEDORA | |
| http://weblog.rubyonrails.org/2012/3/1/ann-rails-3-0-12-has-been-released | x_refsource_CONFIRM | |
| http://www.openwall.com/lists/oss-security/2012/03/02/6 | mailing-listx_refsource_MLIST | |
| http://www.openwall.com/lists/oss-security/2012/03/03/1 | mailing-listx_refsource_MLIST | |
| https://access.redhat.com/security/cve/CVE-2012-1098 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=799275 | x_refsource_CONFIRMIssue Tracking | |
| https://github.com/advisories/GHSA-qv8p-v9qw-wc7g | Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2012-1098 | ||
| https://www.cve.org/CVERecord?id=CVE-2012-1098 |
Change history (0)
No recorded changes yet.