CVE-2013-0256
RDoc contains XSS vulnerability
CVE-2013-0256 is a medium vulnerability (CVSS 4.3) in Ruby-lang Rdoc, published March 1, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.99%, the 87th percentile. Fixed in rdoc 3.12.1.
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.
Exploit likelihood
What each source reports
NVD Score used
4.3
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.
- Record
CVE-2013-0256- CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2013-0256- Updated
- 2026-11-02
EUVDEUVD-2017-0308 No score
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.
- Record
EUVD-2017-0308- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-v2r9-c84j-v7xm No score
RDoc 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.
- Record
GHSA-v2r9-c84j-v7xm- Weakness
- CWE-79
- Updated
- 2026-11-02
OSVRHSA-2013:0701
5.4
Red Hat Security Advisory: ruby193-ruby, rubygem-json and rubygem-rdoc security update
- Record
RHSA-2013:0701- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N - Updated
- 2026-11-02
OSVRHSA-2013:0728
5.4
Red Hat Security Advisory: rubygem packages security update
- Record
RHSA-2013:0728- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N - Updated
- 2026-11-02
OSVGHSA-v2r9-c84j-v7xm No score
RDoc 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.
- Record
GHSA-v2r9-c84j-v7xm- Weakness
- CWE-79
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
rdocRubyGems |
2.3.0 up to 3.12.1 | 3.12.1 |
ruby1.9.1Debian:6.0 |
before 1.9.2.0-2+deb6u4, plus listed versions 1.9.2.0-21.9.2.0-2+armhf |
1.9.2.0-2+deb6u4 |
rdocRubyGems |
2.3.0 up to 3.12.1, plus listed versions 2.4.02.4.12.4.22.4.32.5 Show 37 moreShow less2.5.12.5.102.5.112.5.22.5.32.5.42.5.52.5.62.5.72.5.82.5.93.03.0.13.13.103.10.pre.13.10.pre.23.10.pre.33.113.123.23.33.43.53.5.13.5.23.5.33.63.6.13.73.83.93.9.13.9.23.9.33.9.43.9.5 |
3.12.1 |
ruby193-rubyRed Hat:openshift:1::el6 |
before 0:1.9.3.327-28.el6 | 0:1.9.3.327-28.el6 |
ruby193-ruby-debuginfoRed Hat:openshift:1::el6 |
before 0:1.9.3.327-28.el6 | 0:1.9.3.327-28.el6 |
ruby193-ruby-develRed Hat:openshift:1::el6 |
before 0:1.9.3.327-28.el6 | 0:1.9.3.327-28.el6 |
ruby193-ruby-docRed Hat:openshift:1::el6 |
before 0:1.9.3.327-28.el6 | 0:1.9.3.327-28.el6 |
ruby193-ruby-irbRed Hat:openshift:1::el6 |
before 0:1.9.3.327-28.el6 | 0:1.9.3.327-28.el6 |
ruby193-ruby-libsRed Hat:openshift:1::el6 |
before 0:1.9.3.327-28.el6 | 0:1.9.3.327-28.el6 |
ruby193-ruby-tcltkRed Hat:openshift:1::el6 |
before 0:1.9.3.327-28.el6 | 0:1.9.3.327-28.el6 |
Show 29 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ruby193-rubygem-bigdecimalRed Hat:openshift:1::el6 |
before 0:1.1.0-28.el6 | 0:1.1.0-28.el6 |
ruby193-rubygem-io-consoleRed Hat:openshift:1::el6 |
before 0:0.3-28.el6 | 0:0.3-28.el6 |
ruby193-rubygem-jsonRed Hat:openshift:1::el6 |
before 0:1.5.4-28.el6 | 0:1.5.4-28.el6 |
ruby193-rubygem-minitestRed Hat:openshift:1::el6 |
before 0:2.5.1-28.el6 | 0:2.5.1-28.el6 |
ruby193-rubygem-rakeRed Hat:openshift:1::el6 |
before 0:0.9.2.2-28.el6 | 0:0.9.2.2-28.el6 |
ruby193-rubygem-rdocRed Hat:openshift:1::el6 |
before 0:3.9.4-28.el6 | 0:3.9.4-28.el6 |
ruby193-rubygemsRed Hat:openshift:1::el6 |
before 0:1.8.23-28.el6 | 0:1.8.23-28.el6 |
ruby193-rubygems-develRed Hat:openshift:1::el6 |
before 0:1.8.23-28.el6 | 0:1.8.23-28.el6 |
rubygem-jsonRed Hat:openshift:1::el6 |
before 0:1.7.3-2.el6op | 0:1.7.3-2.el6op |
rubygem-json-debuginfoRed Hat:openshift:1::el6 |
before 0:1.7.3-2.el6op | 0:1.7.3-2.el6op |
rubygem-json-docRed Hat:openshift:1::el6 |
before 0:1.7.3-2.el6op | 0:1.7.3-2.el6op |
rubygem-rdocRed Hat:openshift:1::el6 |
before 0:3.8-9.el6op | 0:3.8-9.el6op |
rubygem-rdoc-docRed Hat:openshift:1::el6 |
before 0:3.8-9.el6op | 0:3.8-9.el6op |
ruby193-rubygem-activesupportRed Hat:openshift:1::el6 |
before 1:3.2.8-4.el6 | 1:3.2.8-4.el6 |
ruby193-rubygem-bcrypt-rubyRed Hat:openshift:1::el6 |
before 0:3.0.1-7.el6 | 0:3.0.1-7.el6 |
ruby193-rubygem-bcrypt-ruby-debuginfoRed Hat:openshift:1::el6 |
before 0:3.0.1-7.el6 | 0:3.0.1-7.el6 |
ruby193-rubygem-bsonRed Hat:openshift:1::el6 |
before 0:1.5.2-6.el6op | 0:1.5.2-6.el6op |
ruby193-rubygem-chunky_pngRed Hat:openshift:1::el6 |
before 0:1.2.6-3.el6op | 0:1.2.6-3.el6op |
ruby193-rubygem-ci_reporterRed Hat:openshift:1::el6 |
before 0:1.7.2-4.el6op | 0:1.7.2-4.el6op |
ruby193-rubygem-compassRed Hat:openshift:1::el6 |
before 0:0.12.2-4.el6op | 0:0.12.2-4.el6op |
ruby193-rubygem-fastthreadRed Hat:openshift:1::el6 |
before 0:1.0.7-7.el6op | 0:1.0.7-7.el6op |
ruby193-rubygem-fastthread-debuginfoRed Hat:openshift:1::el6 |
before 0:1.0.7-7.el6op | 0:1.0.7-7.el6op |
ruby193-rubygem-hamlRed Hat:openshift:1::el6 |
before 0:3.1.7-3.el6op | 0:3.1.7-3.el6op |
ruby193-rubygem-http_connectionRed Hat:openshift:1::el6 |
before 0:1.4.1-7.el6 | 0:1.4.1-7.el6 |
ruby193-rubygem-rackRed Hat:openshift:1::el6 |
before 1:1.4.1-5.el6 | 1:1.4.1-5.el6 |
ruby193-rubygem-rack-testRed Hat:openshift:1::el6 |
before 0:0.6.1-3.el6 | 0:0.6.1-3.el6 |
ruby193-rubygem-rspecRed Hat:openshift:1::el6 |
before 0:2.11.0-2.el6 | 0:2.11.0-2.el6 |
ruby193-rubygem-treetopRed Hat:openshift:1::el6 |
before 0:1.4.10-6.el6 | 0:1.4.10-6.el6 |
ruby193-rubygem-xml-simpleRed Hat:openshift:1::el6 |
before 0:1.0.12-10.el6op | 0:1.0.12-10.el6op |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
rhn.redhat.com/errata/RHSA-2013-0701.html
ruby-lang.org/en/news/2013/02/06/rdoc-xss-cve-2013-0256
secunia.com/advisories/52774
lists.opensuse.org/opensuse-updates/2013-02/msg00048.html
blog.segment7.net/2013/02/06/rdoc-xss-vulnerability-cve-2013-0256-releases-3-9-5-3-12-1-4-0-0-rc-2
rhn.redhat.com/errata/RHSA-2013-0728.html
Show 23 moreShow less
rhn.redhat.com/errata/RHSA-2013-0686.html
github.com/rdoc/rdoc/commit/ffa87887ee0517793df7541629a470e331f9fe60
rhn.redhat.com/errata/RHSA-2013-0548.html
ubuntu.com/usn/USN-1733-1
bugzilla.redhat.com/show_bug.cgi?id=907820
lists.opensuse.org/opensuse-security-announce/2013-04/msg00015.html
nvd.nist.gov/vuln/detail/CVE-2013-0256
github.com/advisories/GHSA-v2r9-c84j-v7xm
github.com/rubysec/ruby-advisory-db/blob/master/gems/rdoc/CVE-2013-0256.yml
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
github.com/rdoc/rdoc
access.redhat.com/errata/RHSA-2013:0701
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=909029
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0701.json
access.redhat.com/security/cve/CVE-2013-0256
cve.org/CVERecord?id=CVE-2013-0256
access.redhat.com/security/cve/CVE-2013-0269
cve.org/CVERecord?id=CVE-2013-0269
nvd.nist.gov/vuln/detail/CVE-2013-0269
ruby-lang.org/en/news/2013/02/22/json-dos-cve-2013-0269
access.redhat.com/errata/RHSA-2013:0728
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0728.json