CVE-2013-0256
MEDIUM 4.3CVSS 2.0RDoc contains XSS vulnerability
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.
- Published
- 1 Mar 2013
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-v2r9-c84j-v7xm
- Sources
- NVDJSONOSV GHSA-v2r9-c84j-v7xmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ruby-lang | rdoccpe:2.3:a:ruby-lang:rdoc:*:*:*:*:*:ruby:*:* |
>= 2.3.0, < 3.12 | 3.12 |
| NVD | ruby-lang | rdoccpe:2.3:a:ruby-lang:rdoc:4.0.0:preview2:*:*:*:ruby:*:* |
= 4.0.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:* |
= 1.9 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:* |
= 1.9.1 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:* |
= 1.9.2 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:* |
= 1.9.3 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.3:p0:*:*:*:*:*:* |
= 1.9.3 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.3:p125:*:*:*:*:*:* |
= 1.9.3 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.3:p194:*:*:*:*:*:* |
= 1.9.3 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.3:p286:*:*:*:*:*:* |
= 1.9.3 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.3:p383:*:*:*:*:*:* |
= 1.9.3 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.0:*:*:*:*:*:*:* |
= 2.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.0.0:rc1:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.0.0:rc2:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* |
= 12.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.10:*:*:*:*:*:*:* |
= 12.10 | |
| OSV | RubyGems | rdoc | >= 2.3.0, < 3.12.1 | 3.12.1 |
References
- 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 · Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00015.html · Mailing List, Third Party Advisory, WEB
- http://lists.opensuse.org/opensuse-updates/2013-02/msg00048.html · Mailing List, Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2013-0548.html · Third Party Advisory
- http://rhn.redhat.com/errata/RHSA-2013-0686.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2013-0701.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2013-0728.html · Third Party Advisory, WEB
- http://secunia.com/advisories/52774 · Third Party Advisory
- http://www.ruby-lang.org/en/news/2013/02/06/rdoc-xss-cve-2013-0256/ · Vendor Advisory, WEB
- http://www.ubuntu.com/usn/USN-1733-1 · Third Party Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=907820 · Issue Tracking, WEB
- https://github.com/rdoc/rdoc/commit/ffa87887ee0517793df7541629a470e331f9fe60 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2013-0256 · ADVISORY
- https://github.com/advisories/GHSA-v2r9-c84j-v7xm · ADVISORY
- https://github.com/rdoc/rdoc · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rdoc/CVE-2013-0256.yml · WEB
- https://web.archive.org/web/20130402173730/http://blog.segment7.net:80/2013/02/06/rdoc-xss-vulnerability-cve-2013-0256-releases-3-9-5-3-12-1-4-0-0-rc-2 · WEB
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 1 Mar 2013)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Oct 2017)