{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2013-0256","published":"2013-03-01T05:40:17.583000Z","last_modified":"2026-06-16T23:49:04.090000Z","status":"Modified","cvss":{"version":"2.0","score":4.3,"severity":"MEDIUM","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:ruby-lang:rdoc:*:*:*:*:*:ruby:*:*","part":"a","vendor":"ruby-lang","product":"rdoc","version_start_including":"2.3.0","version_end_excluding":"3.12"},{"criteria":"cpe:2.3:a:ruby-lang:rdoc:4.0.0:preview2:*:*:*:ruby:*:*","part":"a","vendor":"ruby-lang","product":"rdoc","version":"4.0.0"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.1"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.2"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.3"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:p0:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.3"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:p125:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.3"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:p194:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.3"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:p286:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.3"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:p383:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.3"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.0"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.0.0"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0.0:rc1:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.0.0"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0.0:rc2:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.0.0"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"12.04"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:12.10:*:*:*:*:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"12.10"}],"cpes_truncated":false,"vendors":["ruby-lang","canonical"],"products":["ruby-lang/rdoc","ruby-lang/ruby","canonical/ubuntu_linux"],"epss":{"score":0.02992,"percentile":0.8808,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-v2r9-c84j-v7xm","ecosystem":"RubyGems","name":"rdoc","purl":"pkg:gem/rdoc","ranges":[{"introduced":"2.3.0","fixed":"3.12.1"}],"versions":["2.3.0","2.4.0","2.4.1","2.4.2","2.4.3","2.5","2.5.1","2.5.10","2.5.11","2.5.2","2.5.3","2.5.4","2.5.5","2.5.6","2.5.7","2.5.8","2.5.9","3.0","3.0.1","3.1","3.10","3.10.pre.1","3.10.pre.2","3.10.pre.3","3.11","3.12","3.2","3.3","3.4","3.5","3.5.1","3.5.2","3.5.3","3.6","3.6.1","3.7","3.8","3.9","3.9.1","3.9.2","3.9.3","3.9.4","3.9.5"],"versions_truncated":false}],"severity":"medium","priority_score":41,"links":{"html_es":"/es/cve/CVE-2013-0256/","html_en":"/en/cve/CVE-2013-0256/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2013-0256","cve_org":"https://www.cve.org/CVERecord?id=CVE-2013-0256"},"untrusted":{"vendor_name":"Ruby-lang","product_name":"Rdoc","desc_en":"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.","affected":[],"references":[{"url":"http://blog.segment7.net/2013/02/06/rdoc-xss-vulnerability-cve-2013-0256-releases-3-9-5-3-12-1-4-0-0-rc-2","tags":["Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00015.html","tags":["Mailing List","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-02/msg00048.html","tags":["Mailing List","Third Party Advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0548.html","tags":["Third Party Advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0686.html","tags":["Third Party Advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0701.html","tags":["Third Party Advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0728.html","tags":["Third Party Advisory"]},{"url":"http://secunia.com/advisories/52774","tags":["Third Party Advisory"]},{"url":"http://www.ruby-lang.org/en/news/2013/02/06/rdoc-xss-cve-2013-0256/","tags":["Vendor Advisory"]},{"url":"http://www.ubuntu.com/usn/USN-1733-1","tags":["Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=907820","tags":["Issue Tracking"]},{"url":"https://github.com/rdoc/rdoc/commit/ffa87887ee0517793df7541629a470e331f9fe60","tags":["Third Party Advisory"]}]}}