{"id":"CVE-2013-1857","published":"2013-03-19T22:00:00Z","modified":"2024-08-06T15:20:35Z","title":"The sanitize helper in lib/action_controller/vendor/html-scanner/html/sanitizer.rb in the Action Pack component in…","vendor":null,"product":null,"tier":"tail","description":{"text":"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 &#x3a; sequence.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01853,"percentile":0.79666,"provenance":"source"},"cwes":[],"references":[{"url":"http://lists.apple.com/archives/security-announce/2013/Oct/msg00006.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://lists.opensuse.org/opensuse-updates/2014-01/msg00013.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-04/msg00073.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://support.apple.com/kb/HT5784","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0698.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-04/msg00072.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://groups.google.com/group/rubyonrails-security/msg/78b9817a5943f6d6?dmode=source&output=gplain","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-1863.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://weblog.rubyonrails.org/2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released/","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":15.93}]},"affected":[{"ecosystem":"RubyGems","package":"actionpack","vulnerableRanges":["<2.3.18",">=3.0.0, <3.1.12",">=3.2.0, <3.2.13"],"patched":["2.3.18","3.1.12","3.2.13"],"from":["GHSA-j838-vfpq-fmf2"],"provenance":"source"}],"summary":{"text":"The sanitize helper in lib/action_controller/vendor/html-scanner/html/sanitizer.rb in the Action Pack component of Ruby on Rails (before 2.3.18, 3.0.x, 3.1.x before 3.1.12, and 3.2.x before 3.2.13) does not properly handle encoded colon characters in URLs. A remote attacker can exploit this with a crafted scheme name, such as one including a &#x3a; sequence, to conduct cross-site scripting attacks.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:37Z"},"euvd":{"id":"EUVD-2017-0258","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2012-3465","published":"2012-08-10","fixed":"3.2.8","kev":false,"link":{"from":"CVE-2012-3465","to":"CVE-2013-1857","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:actionpack","fromFixed":"2.3.16","toFixed":"2.3.18","daysApart":221}]}},{"cve":"CVE-2013-0156","published":"2013-01-13","fixed":"3.2.11","kev":false,"link":{"from":"CVE-2013-0156","to":"CVE-2013-1857","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:actionpack","fromFixed":"3.1.10","toFixed":"3.1.12","daysApart":65}]}},{"cve":"CVE-2013-1855","published":"2013-03-19","fixed":"3.2.13","kev":false},{"cve":"CVE-2013-1857","published":"2013-03-19","fixed":"3.2.13","kev":false},{"cve":"CVE-2014-0082","published":"2014-02-20","fixed":"3.2.17","kev":false},{"cve":"CVE-2013-4491","published":"2013-12-07","fixed":"4.0.2","kev":false},{"cve":"CVE-2013-6414","published":"2013-12-07","fixed":"4.0.2","kev":false}],"package":"RubyGems:actionpack"}}