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.
Published: 2013-03-19
Score: 4.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-2655-1 rails security update
EUVD EUVD EUVD-2017-0258 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.
Github GHSA Github GHSA GHSA-j838-vfpq-fmf2 actionpack Cross-site Scripting vulnerability
History

No history.

Subscriptions

Redhat Enterprise Linux Openshift
Rhel Sam 1.4
Rubyonrails Rails Ruby On Rails
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2024-08-06T15:20:35.190Z

Reserved: 2013-02-19T00:00:00.000Z

Link: CVE-2013-1857

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2013-03-19T22:55:01.087

Modified: 2026-04-29T01:13:23.040

Link: CVE-2013-1857

cve-icon Redhat

Severity : Moderate

Publid Date: 2013-03-18T00:00:00Z

Links: CVE-2013-1857 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses