MEDIUM · 4.3

CVE-2013-1857

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 d...

Vulnerability 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.

CVSS Score

4.3

MEDIUM

AV:N/AC:M/Au:N/C:N/I:P/A:N
Confidentiality
NONE
Integrity
PARTIAL
Availability
NONE

Affected Products

VendorProductVersions
RedhatEnterprise Linux6.0
RubyonrailsRails0.9.1
RubyonrailsRuby On Rails<= 2.3.17

Related Weaknesses (CWE)

References

FAQ

What is CVE-2013-1857?

CVE-2013-1857 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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 d...

How severe is CVE-2013-1857?

CVE-2013-1857 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2013-1857?

Check the references section above for vendor advisories and patch information. Affected products include: Redhat Enterprise Linux, Rubyonrails Rails, Rubyonrails Ruby On Rails.