Skip to content
Fencer Intel
medium 4.3

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 Fencer

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-2013-1855 updated cvss 4.3

rubygem-actionpack: css_sanitization: XSS vulnerability in sanitize_css

  • Red Hat Satellite 6 ruby193-rubygem-actionpack
    affected: 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.el6
    fixed: 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 more
    fixed: 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

Sources

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.