rubygem-actionpack: css_sanitization: XSS vulnerability in sanitize_css
Published Mar 19, 2013
4.3
MEDIUMCVSS 2.0
EPSS 2.63%
Description
The sanitize_css method in lib/action_controller/vendor/html-scanner/html/sanitizer.rb in the Action Pack component in Ruby on Rails before 2.3.18, 3.0.x and 3.1.x before 3.1.12, and 3.2.x before 3.2.13 does not properly handle \n (newline) characters, which makes it easier for remote attackers to conduct cross-site scripting (XSS) attacks via crafted Cascading Style Sheets (CSS) token sequences.
Affected products
No data.
Configuration 1
- 3.2.0
- 3.2.0
- 3.2.0
- 3.2.1
- 3.2.2
- 3.2.2
- 3.2.3
- 3.2.3
- 3.2.3
- 3.2.4
- 3.2.4
- 3.2.5
- 3.2.6
- 3.2.7
- 3.2.8
- 3.2.9
- 3.2.10
- 3.2.11
- 3.2.12
Configuration 2
- 0.9.1
- 0.9.2
- 0.9.3
- 0.9.4
- 0.9.4.1
- 0.10.0
- 0.10.1
- 0.11.0
- 0.11.1
- 0.12.0
- 0.12.1
- 0.13.0
- 0.13.1
- 0.14.1
- 0.14.2
- 0.14.3
- 0.14.4
- 1.0.0
- 1.1.0
- 1.1.1
- 1.1.2
- 1.1.3
- 1.1.4
- 1.1.5
- 1.1.6
- 1.2.0
- 1.2.1
- 1.2.2
- 1.2.3
- 1.2.4
- 1.2.5
- 1.2.6
- 1.9.5
- 2.0.0
- 2.0.0
- 2.0.0
- 2.0.1
- 2.0.2
- 2.0.4
- 2.1.0
- 2.1.1
- 2.1.2
- 2.2.0
- 2.2.1
- 2.2.2
- 2.3.0
- 2.3.1
- 2.3.2
- 2.3.3
- 2.3.4
- 2.3.9
- 2.3.10
- 2.3.11
- 2.3.12
- 2.3.13
- 2.3.14
- 2.3.15
- 2.3.16
- ≤ 2.3.17
- 0.5.0
- 0.5.5
- 0.5.6
- 0.5.7
- 0.6.0
- 0.6.5
- 0.7.0
- 0.8.0
- 0.8.5
- 0.9.0
Configuration 3
- 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.12
- 3.0.13
- 3.0.13
- 3.0.14
- 3.0.16
- 3.0.17
- 3.0.18
- 3.0.19
- 3.0.20
- 3.0.4
Configuration 4
- 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
- 3.1.4
- 3.1.5
- 3.1.5
- 3.1.6
- 3.1.7
- 3.1.8
- 3.1.9
- 3.1.10
- 3.1.11
Configuration 5
- 6.0
No data.
RHEL 6 Version of OpenShift Enterprise
ruby193-rubygem-actionpack-1:3.0.13-8.el6op
Fixed · RHSA-2013:0698
RHEL 6 Version of OpenShift Enterprise
ruby193-rubygem-actionpack-1:3.2.8-5.el6
Fixed · RHSA-2013:0698
RHEL 6 Version of OpenShift Enterprise
rubygem-actionpack-1:3.0.13-8.el6op
Fixed · RHSA-2013:0698
Red Hat Subscription Asset Manager 1.4
katello-0:1.4.3.28-1.el6sam_splice
Fixed · RHSA-2014:1863
Red Hat Subscription Asset Manager 1.4
ruby193-rubygem-actionmailer-1:3.2.17-1.el6sam
Fixed · RHSA-2014:1863
Red Hat Subscription Asset Manager 1.4
ruby193-rubygem-actionpack-1:3.2.17-6.el6sam
Fixed · RHSA-2014:1863
Red Hat Subscription Asset Manager 1.4
ruby193-rubygem-activemodel-1:3.2.17-1.el6sam
Fixed · RHSA-2014:1863
Red Hat Subscription Asset Manager 1.4
ruby193-rubygem-activerecord-1:3.2.17-5.el6sam
Fixed · RHSA-2014:1863
Red Hat Subscription Asset Manager 1.4
ruby193-rubygem-activeresource-1:3.2.17-1.el6sam
Fixed · RHSA-2014:1863
Red Hat Subscription Asset Manager 1.4
ruby193-rubygem-activesupport-1:3.2.17-2.el6sam
Fixed · RHSA-2014:1863
Red Hat Subscription Asset Manager 1.4
ruby193-rubygem-i18n-0:0.6.9-1.el6sam
Fixed · RHSA-2014:1863
Red Hat Subscription Asset Manager 1.4
ruby193-rubygem-mail-0:2.5.4-1.el6sam
Fixed · RHSA-2014:1863
Red Hat Subscription Asset Manager 1.4
ruby193-rubygem-rack-1:1.4.5-3.el6sam
Fixed · RHSA-2014:1863
Red Hat Subscription Asset Manager 1.4
ruby193-rubygem-rails-1:3.2.17-1.el6sam
Fixed · RHSA-2014:1863
Red Hat Subscription Asset Manager 1.4
ruby193-rubygem-railties-1:3.2.17-1.el6sam
Fixed · RHSA-2014:1863
Red Hat Satellite 6
ruby193-rubygem-actionpack
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| RHEL 6 Version of OpenShift Enterprise | ruby193-rubygem-actionpack-1:3.0.13-8.el6op | Fixed | RHSA-2013:0698 |
| RHEL 6 Version of OpenShift Enterprise | ruby193-rubygem-actionpack-1:3.2.8-5.el6 | Fixed | RHSA-2013:0698 |
| RHEL 6 Version of OpenShift Enterprise | rubygem-actionpack-1:3.0.13-8.el6op | Fixed | RHSA-2013:0698 |
| Red Hat Subscription Asset Manager 1.4 | katello-0:1.4.3.28-1.el6sam_splice | Fixed | RHSA-2014:1863 |
| Red Hat Subscription Asset Manager 1.4 | ruby193-rubygem-actionmailer-1:3.2.17-1.el6sam | Fixed | RHSA-2014:1863 |
| Red Hat Subscription Asset Manager 1.4 | ruby193-rubygem-actionpack-1:3.2.17-6.el6sam | Fixed | RHSA-2014:1863 |
| Red Hat Subscription Asset Manager 1.4 | ruby193-rubygem-activemodel-1:3.2.17-1.el6sam | Fixed | RHSA-2014:1863 |
| Red Hat Subscription Asset Manager 1.4 | ruby193-rubygem-activerecord-1:3.2.17-5.el6sam | Fixed | RHSA-2014:1863 |
| Red Hat Subscription Asset Manager 1.4 | ruby193-rubygem-activeresource-1:3.2.17-1.el6sam | Fixed | RHSA-2014:1863 |
| Red Hat Subscription Asset Manager 1.4 | ruby193-rubygem-activesupport-1:3.2.17-2.el6sam | Fixed | RHSA-2014:1863 |
| Red Hat Subscription Asset Manager 1.4 | ruby193-rubygem-i18n-0:0.6.9-1.el6sam | Fixed | RHSA-2014:1863 |
| Red Hat Subscription Asset Manager 1.4 | ruby193-rubygem-mail-0:2.5.4-1.el6sam | Fixed | RHSA-2014:1863 |
| Red Hat Subscription Asset Manager 1.4 | ruby193-rubygem-rack-1:1.4.5-3.el6sam | Fixed | RHSA-2014:1863 |
| Red Hat Subscription Asset Manager 1.4 | ruby193-rubygem-rails-1:3.2.17-1.el6sam | Fixed | RHSA-2014:1863 |
| Red Hat Subscription Asset Manager 1.4 | ruby193-rubygem-railties-1:3.2.17-1.el6sam | Fixed | RHSA-2014:1863 |
| Red Hat Satellite 6 | ruby193-rubygem-actionpack | 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 2, 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 (11 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 2.63% (0.02630) | 84.99th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.62% (0.02618) | 83.39th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.54% (0.00536) | 65.45th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.41% (0.00406) | 74.59th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.41% (0.00406) | 73.08th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.41% (0.00406) | 69.67th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.96% (0.01955) | 78.47th | v2 (v2022.01.01) |
| Feb 13, 2023 | 1.96% (0.01955) | 77.97th | v2 (v2022.01.01) |
| Feb 3, 2023 | 3.41% (0.03407) | 84.27th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.96% (0.01955) | 76.59th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.96% (0.01955) | 55.71th | v2 (v2022.01.01) |
References (20)
- http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html vendor-advisoryx_refsource_APPLE
- http://lists.apple.com/archives/security-announce/2013/Oct/msg00006.html vendor-advisoryx_refsource_APPLE
- http://lists.opensuse.org/opensuse-updates/2013-04/msg00072.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-updates/2013-04/msg00073.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-updates/2014-01/msg00013.html vendor-advisoryx_refsource_SUSE
- http://rhn.redhat.com/errata/RHSA-2013-0698.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2014-1863.html vendor-advisoryx_refsource_REDHAT
- http://support.apple.com/kb/HT5784 x_refsource_CONFIRM
- http://weblog.rubyonrails.org/2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released/ x_refsource_CONFIRM
- https://access.redhat.com/errata/RHSA-2013:0698
- https://access.redhat.com/errata/RHSA-2014:1863
- https://access.redhat.com/security/cve/CVE-2013-1855 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=921331 Issue Tracking
- https://github.com/advisories/GHSA-q759-hwvc-m3jg Advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2013-1855.yml
- https://groups.google.com/group/rubyonrails-security/msg/8ed835a97cdd1afd?dmode=source&output=gplain mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2013-1855
- https://web.archive.org/web/20130609174600/http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html
- https://web.archive.org/web/20131109010518/http://lists.apple.com/archives/security-announce/2013/Oct/msg00006.html
- https://www.cve.org/CVERecord?id=CVE-2013-1855
Change history (0)
No recorded changes yet.