CVE-2013-1857: XSS
The sanitize helper in lib/actioncontroller/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.
Other sources
The sanitize helper in lib/actioncontroller/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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2013-1857?
CVE-2013-1857 has a severity rating that allows for potential unauthorized actions through crafted URLs.
How do I fix CVE-2013-1857?
To fix CVE-2013-1857, update Action Pack to version 2.3.18, 3.1.12, or 3.2.13 or later.
What versions of Ruby on Rails are affected by CVE-2013-1857?
CVE-2013-1857 affects Ruby on Rails versions prior to 2.3.18, 3.1.x before 3.1.12, and 3.2.x before 3.2.13.
Is CVE-2013-1857 exploitable in production environments?
Yes, CVE-2013-1857 can be exploited in production environments if the vulnerable versions of Action Pack are in use.
What components of Ruby on Rails does CVE-2013-1857 impact?
CVE-2013-1857 impacts the Action Pack component of Ruby on Rails.