Skip to main content
← All vulnerabilities
CVE-2013-1857GHSA-J838-VFPQ-FMF2

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

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 helper 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 encoded : (colon) characters in URLs, which makes it easier for remote attackers to conduct cross-site scripting (XSS) attacks via a crafted scheme name, as demonstrated by including a : sequence.

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

lists.opensuse.org

support.apple.com

rhn.redhat.com

groups.google.com

weblog.rubyonrails.org