ADVISORIES

Vulnerability

CVE-2013-1857

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.

4 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 2Red Hat 1RubyGems 1

Advisories

  • DEBIAN-CVE-2013-1857

    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…

    CVE-2013-1857 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-j838-vfpq-fmf2

    actionpack Cross-site Scripting vulnerability

    Moderate CVE-2013-1857 RubyGems Updated 30 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