{"cve":"CVE-2013-1855","nvd":{"published":"2013-03-19T22:55:01.027","modified":"2026-06-16T23:52:15.030","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-79"],"references":["http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html","http://lists.apple.com/archives/security-announce/2013/Oct/msg00006.html","http://lists.opensuse.org/opensuse-updates/2013-04/msg00072.html","http://lists.opensuse.org/opensuse-updates/2013-04/msg00073.html","http://lists.opensuse.org/opensuse-updates/2014-01/msg00013.html"],"products":["redhat:enterprise_linux","rubyonrails:rails","rubyonrails:ruby_on_rails"],"source":"nvd","synced_at":"2026-10-19T20:27:27.940201468+00:00"},"epss":{"cve":"CVE-2013-1855","score":0.0263,"percentile":0.85512,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-q759-hwvc-m3jg","url":"https://osv.dev/vulnerability/GHSA-q759-hwvc-m3jg","summary":"actionpack Cross-site Scripting vulnerability","modified":"2024-11-29T05:42:37.977804Z","packages":[{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":["<2.3.18"],"fixed":["2.3.18"]},{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=3.0.0 <3.1.12"],"fixed":["3.1.12"]},{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=3.2.0 <3.2.13"],"fixed":["3.2.13"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}