Skip to main content
← All vulnerabilities
CVE-2013-1855GHSA-Q759-HWVC-M3JG

The sanitize_css method in lib/action_controller/vendor/html-scanner/html/sanitizer.rb in the Action Pack component in Ruby on Rails before

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.3.18, 3.1.12, 3.2.13
None on Exploit-DB, Metasploit or GitHub

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • actionpackRubyGems

    fixed in 2.3.18

  • actionpackRubyGems

    From 3.0.0 · fixed in 3.1.12

  • actionpackRubyGems

    From 3.2.0 · fixed in 3.2.13

References 10

lists.apple.com

groups.google.com

lists.opensuse.org

support.apple.com

rhn.redhat.com

weblog.rubyonrails.org