ADVISORIES

Vulnerability

CVE-2013-1855

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.

4 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 2Red Hat 1RubyGems 1

Advisories

  • DEBIAN-CVE-2013-1855

    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…

    CVE-2013-1855 Debian Updated 1 September 2026
  • DSA-2655-1

    rails - several

    CVE-2011-2932CVE-2012-3464CVE-2012-3465CVE-2013-1854 Debian Updated 20 November 2026
  • GHSA-q759-hwvc-m3jg

    actionpack Cross-site Scripting vulnerability

    Moderate CVE-2013-1855 RubyGems Updated 29 November 2024
  • RHSA-2013:0698

    Red Hat Security Advisory: rubygem-actionpack and ruby193-rubygem-actionpack security update

    CVE-2013-1855CVE-2013-1857 Red Hat Updated 28 June 2026

References