{"id":"CVE-2013-0256","sourceIdentifier":"secalert@redhat.com","published":"2013-03-01T05:40:17.583","lastModified":"2026-06-16T23:49:04.090","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"darkfish.js de RDoc v2.3.0 hasta v3.12 y v4.x antes de v4.0.0.preview2.1, tal como se utiliza en Ruby, no se generó correctamente los documentos, que permite a atacantes remotos realizar ejecución de secuencias de comandos en sitios cruzados (XSS) a través de una URL manipulada."}],"affected":[{"source":"secalert@redhat.com","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-79"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:rdoc:*:*:*:*:*:ruby:*:*","versionStartIncluding":"2.3.0","versionEndExcluding":"3.12","matchCriteriaId":"C60BA6CA-3872-433E-9CDA-465EFB11F230"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:rdoc:4.0.0:preview2:*:*:*:ruby:*:*","matchCriteriaId":"2C0C6748-AE0F-4E21-AA18-59583D5123AB"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:*","matchCriteriaId":"D9237145-35F8-4E05-B730-77C0F386E5B2"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:*","matchCriteriaId":"C78BB1D8-0505-484D-B824-1AA219F8B247"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*","matchCriteriaId":"5178D04D-1C29-4353-8987-559AA07443EC"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:*","matchCriteriaId":"D0535DC9-EB0E-4745-80AC-4A020DF26E38"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:p0:*:*:*:*:*:*","matchCriteriaId":"94F5AA37-B466-4E2E-B217-5119BADDD87B"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:p125:*:*:*:*:*:*","matchCriteriaId":"6DF0F0F5-4022-4837-9B40-4B1127732CC9"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:p194:*:*:*:*:*:*","matchCriteriaId":"B3848B08-85C2-4AAD-AA33-CCEB80EF5B32"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:p286:*:*:*:*:*:*","matchCriteriaId":"B7927D40-2A3A-43AD-99F6-CE61882A1FF4"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:p383:*:*:*:*:*:*","matchCriteriaId":"AA406EC6-6CA5-40A6-A879-AA8940CBEF07"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0:*:*:*:*:*:*:*","matchCriteriaId":"90E0471D-1323-4E67-B66C-DEBF3BBAEEAA"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:*","matchCriteriaId":"B03B7561-A854-4EFA-9E4E-CFC4EEAE4EE1"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0.0:rc1:*:*:*:*:*:*","matchCriteriaId":"285A3431-BDFE-40C5-92CD-B18217757C23"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0.0:rc2:*:*:*:*:*:*","matchCriteriaId":"D66B32CB-AC49-4A1C-85ED-6389F27CB319"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*","matchCriteriaId":"CB66DB75-2B16-4EBF-9B93-CE49D8086E41"},{"vulnerable":true,"criteria":"cpe:2.3:o:canonical:ubuntu_linux:12.10:*:*:*:*:*:*:*","matchCriteriaId":"E2076871-2E80-4605-A470-A41C1A8EC7EE"}]}]}],"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","source":"secalert@redhat.com","tags":["Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00015.html","source":"secalert@redhat.com","tags":["Mailing List","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-02/msg00048.html","source":"secalert@redhat.com","tags":["Mailing List","Third Party Advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0548.html","source":"secalert@redhat.com","tags":["Third Party Advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0686.html","source":"secalert@redhat.com","tags":["Third Party Advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0701.html","source":"secalert@redhat.com","tags":["Third Party Advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0728.html","source":"secalert@redhat.com","tags":["Third Party Advisory"]},{"url":"http://secunia.com/advisories/52774","source":"secalert@redhat.com","tags":["Third Party Advisory"]},{"url":"http://www.ruby-lang.org/en/news/2013/02/06/rdoc-xss-cve-2013-0256/","source":"secalert@redhat.com","tags":["Vendor Advisory"]},{"url":"http://www.ubuntu.com/usn/USN-1733-1","source":"secalert@redhat.com","tags":["Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=907820","source":"secalert@redhat.com","tags":["Issue Tracking"]},{"url":"https://github.com/rdoc/rdoc/commit/ffa87887ee0517793df7541629a470e331f9fe60","source":"secalert@redhat.com","tags":["Third Party Advisory"]},{"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","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00015.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-02/msg00048.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0548.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0686.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0701.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0728.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"http://secunia.com/advisories/52774","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"http://www.ruby-lang.org/en/news/2013/02/06/rdoc-xss-cve-2013-0256/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://www.ubuntu.com/usn/USN-1733-1","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=907820","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking"]},{"url":"https://github.com/rdoc/rdoc/commit/ffa87887ee0517793df7541629a470e331f9fe60","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]}],"evaluatorImpact":"Per http://www.ruby-lang.org/en/news/2013/02/06/rdoc-xss-cve-2013-0256/\r\nAffected versions\r\nAll ruby 1.9 versions prior to ruby 1.9.3 patchlevel 383\r\nAll ruby 2.0 versions prior to ruby 2.0.0 rc2 or prior to trunk revision 39102\r\n"}