CVE-2013-1857
publishedrubygem-actionpack: sanitize_protocol: XSS Vulnerability in the helper of Ruby on Rails
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Debian | squeeze | rails | Advisory build | 2.3.5-1.2+squeeze8 | DSA-2655-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
10- APPLE-SA-2013-06-04-1 http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html
- APPLE-SA-2013-10-22-5 http://lists.apple.com/archives/security-announce/2013/Oct/msg00006.html
- openSUSE-SU-2013:0661 http://lists.opensuse.org/opensuse-updates/2013-04/msg00072.html
- openSUSE-SU-2013:0662 http://lists.opensuse.org/opensuse-updates/2013-04/msg00073.html
- openSUSE-SU-2014:0019 http://lists.opensuse.org/opensuse-updates/2014-01/msg00013.html
- RHSA-2013:0698 http://rhn.redhat.com/errata/RHSA-2013-0698.html
- RHSA-2014:1863 http://rhn.redhat.com/errata/RHSA-2014-1863.html
- http://support.apple.com/kb/HT5784
- http://weblog.rubyonrails.org/2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released/
- [rubyonrails-security] 20130318 [CVE-2013-1857] XSS Vulnerability in the `sanitize` helper of Ruby on Rails https://groups.google.com/group/rubyonrails-security/msg/78b9817a5943f6d6?dmode=source&output=gplain
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7be340b74ce6ff60d6ac920a058192ea21b169dc9879a994bc517e324cc037e3
- Ingested
- 23 Sep 2026, 07:39:33 UTC
- Source record
- Official CVE record