XSS in Ruby-Lang Rdoc
CVE-2013-0256
darkfish.js in RDoc 2.3.0 through 3.12 and 4.x before 4.0.0.preview2.1, as used in Ruby, does not properly generate documents, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted URL.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.030, 87.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ruby-Lang Rdoc — versions 4.0.0
- Ruby-Lang Ruby — versions 1.9, 1.9.1, 1.9.2
- Canonical Ubuntu Linux — versions 12.04, 12.10
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, ikedaisuke/rushcheck). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- RHSA-2013:0701 (vendor-advisory, Third Party Advisory)
- www.ruby-lang.org/en/news/2013/02/06/rdoc-xss-cve-2013-0256/ (Vendor Advisory)
- secunia.com/advisories/52774 (Third Party Advisory, third-party-advisory)
- openSUSE-SU-2013:0303 (vendor-advisory, Mailing List, Third Party Advisory)
- blog.segment7.net/2013/02/06/rdoc-xss-vulnerability-cve-2013-0256-releases-3-9-… (Third Party Advisory)
- RHSA-2013:0728 (vendor-advisory, Third Party Advisory)
- RHSA-2013:0686 (vendor-advisory, Third Party Advisory)
- github.com/rdoc/rdoc/commit/ffa87887ee0517793df7541629a470e331f9fe60 (Third Party Advisory)
- RHSA-2013:0548 (vendor-advisory, Third Party Advisory)
- USN-1733-1 (vendor-advisory, Third Party Advisory)