CVE-2013-1855
Fixed in a distro release EPSS 3%
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.
Products: rubyonrails rails, rubyonrails ruby_on_rails, redhat enterprise_linux
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| RubyGems | actionpack | 2.3.18 |
| RubyGems | actionpack | 3.1.12 |
| RubyGems | actionpack | 3.2.13 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | rails | 2.3.14.1 |
| Debian 13 | rails | 2.3.14.1 |
| Debian 14 | rails | 2.3.14.1 |
| Debian 6.0 | rails | 2.3.5-1.2+squeeze8 |
| Red Hat openshift 1 | ruby193-rubygem-actionpack | 1:3.2.8-5.el6 |
| Red Hat openshift 1 | ruby193-rubygem-actionpack-doc | 1:3.2.8-5.el6 |
| Red Hat openshift 1 | rubygem-actionpack | 1:3.0.13-8.el6op |