Live threats

All CVEs / Ruby-lang

CVE-2013-0256Ruby-lang Rdoc

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
3.0%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Mar 1, 2013
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rdoc.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems rdoc ≥ 2.3.0 < 3.12.1 3.12.1 gem "rdoc", ">= 3.12.1"

Per OSV / GitHub Advisories (GHSA-v2r9-c84j-v7xm). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ruby-langrdoc≥ 2.3.0 < 3.12
ruby-langrdoc4.0.0
ruby-langruby1.9
ruby-langruby1.9.1
ruby-langruby1.9.2
ruby-langruby1.9.3
ruby-langruby1.9.3
ruby-langruby1.9.3
ruby-langruby1.9.3
ruby-langruby1.9.3
ruby-langruby1.9.3
ruby-langruby2.0
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langruby2.0.0
canonicalubuntu_linux12.04
canonicalubuntu_linux12.10

Official sources

References

Links published by the sources. Open them with care.