CVE-2013-1855 json
actionpack Cross-site Scripting vulnerability
published 13y ago modified 4mo ago also GHSA-q759-hwvc-m3jg , EUVD-2017-0289
- 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
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.
Patch / fix
- rubygems actionpack 2.3.18, 3.1.12, 3.2.13
- rails Debian 14, Debian 13, Debian 12 2.3.14.1
debian advisories DEBIAN-CVE-2013-1855
- rubygem-actionpack openshift 1 1:3.0.13-8.el6op
- ruby193-rubygem-actionpack openshift 1 1:3.2.8-5.el6
red hat advisories RHSA-2013:0698
Is CVE-2013-1855 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2013-1855 updated cvss 4.3
rubygem-actionpack: css_sanitization: XSS vulnerability in sanitize_css
-
Red Hat Satellite 6 ruby193-rubygem-actionpackaffected: no fix available
-
Red Hat OpenShift Enterprise Infrastructure rubygem-actionpack 3.0.13-8.el6op, ruby193-rubygem-actionpack 3.2.8-5.el6 Red Hat OpenShift Enterprise Node ruby193-rubygem-actionpack 3.2.8-5.el6fixed: vendor fix RHSA-2013:0698
-
Red Hat Subscription Asset Manager for RHEL 6 Server katello 1.4.3.28-1.el6sam_splice, ruby193-rubygem-i18n 0.6.9-1.el6sam, ruby193-rubygem-mail 2.5.4-1.el6sam, ruby193-rubygem-rack 1.4.5-3.el6sam, ruby193-rubygem-rails 3.2.17-1.el6sam, katello-common 1.4.3.28-1.el6sam_splice, +11 morefixed: vendor fix RHSA-2014:1863
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.63% 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 | actionpack | <2.3.18 >=3.0.0, <3.1.12 >=3.2.0, <3.2.13 |
2.3.18 3.1.12 3.2.13 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
lists.apple.com
/archives/security-announce/2013/Oct/msg00006.html
vendor-advisory
-
lists.opensuse.org
/opensuse-updates/2014-01/msg00013.html
vendor-advisory, web
-
lists.opensuse.org
/opensuse-updates/2013-04/msg00073.html
vendor-advisory, web
-
rhn.redhat.com
/errata/RHSA-2013-0698.html
vendor-advisory, web
-
lists.apple.com
/archives/security-announce/2013/Jun/msg00000.html
vendor-advisory
-
lists.opensuse.org
/opensuse-updates/2013-04/msg00072.html
vendor-advisory, web
-
rhn.redhat.com
/errata/RHSA-2014-1863.html
vendor-advisory, web
-
groups.google.com
/group/rubyonrails-security/msg/8ed835a97cdd1afd?dmode=source&output=gplain
mailing-list, web
-
support.apple.com
/kb/HT5784
web
- weblog.rubyonrails.org /2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released/
-
nvd.nist.gov
/vuln/detail/CVE-2013-1855
advisory
-
access.redhat.com
/errata/RHSA-2013:0698
web
-
access.redhat.com
/errata/RHSA-2014:1863
web
-
access.redhat.com
/security/cve/CVE-2013-1855
web
-
bugzilla.redhat.com
/show_bug.cgi?id=921331
web
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2013-1855.yml
web
-
web.archive.org
/web/20130609174600/http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html
web
-
web.archive.org
/web/20131109010518/http://lists.apple.com/archives/security-announce/2013/Oct/msg00006.html
web
-
weblog.rubyonrails.org
/2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released
web
Sources
- CVE List CVE-2013-1855
- GitHub Advisory GHSA-q759-hwvc-m3jg
- NVD CVE-2013-1855
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.