{"cve":"CVE-2013-1857","nvd":{"published":"2013-03-19T22:55:01.087","modified":"2026-06-16T23:52:15.287","status":"Modified","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 &#x3a; sequence.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-79"],"references":["http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html","http://lists.apple.com/archives/security-announce/2013/Oct/msg00006.html","http://lists.opensuse.org/opensuse-updates/2013-04/msg00072.html","http://lists.opensuse.org/opensuse-updates/2013-04/msg00073.html","http://lists.opensuse.org/opensuse-updates/2014-01/msg00013.html"],"products":["redhat:enterprise_linux","rubyonrails:rails","rubyonrails:ruby_on_rails"],"source":"nvd","synced_at":"2026-10-19T20:27:27.940201468+00:00"},"epss":{"cve":"CVE-2013-1857","score":0.01853,"percentile":0.79149,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-j838-vfpq-fmf2","url":"https://osv.dev/vulnerability/GHSA-j838-vfpq-fmf2","summary":"actionpack Cross-site Scripting vulnerability","modified":"2024-11-30T05:36:43.072184Z","packages":[{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":["<2.3.18"],"fixed":["2.3.18"]},{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=3.0.0 <3.1.12"],"fixed":["3.1.12"]},{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=3.2.0 <3.2.13"],"fixed":["3.2.13"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}