CVE-2013-0256

Summary

CVECVE-2013-0256
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2013-03-01 05:40:17 UTC
Updated2026-04-29 01:13:23 UTC
Descriptiondarkfish.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.

Risk And Classification

Primary CVSS: v2.0 4.3 from [email protected]

AV:N/AC:M/Au:N/C:N/I:P/A:N

Problem Types: CWE-79 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

AV:N/AC:M/Au:N/C:N/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 12.04 All All All
Operating System Canonical Ubuntu Linux 12.10 All All All
Application Ruby-lang Rdoc All All All All
Application Ruby-lang Rdoc 4.0.0 preview2 All All
Application Ruby-lang Ruby 1.9 All All All
Application Ruby-lang Ruby 1.9.1 All All All
Application Ruby-lang Ruby 1.9.2 All All All
Application Ruby-lang Ruby 1.9.3 All All All
Application Ruby-lang Ruby 1.9.3 p0 All All
Application Ruby-lang Ruby 1.9.3 p125 All All
Application Ruby-lang Ruby 1.9.3 p194 All All
Application Ruby-lang Ruby 1.9.3 p286 All All
Application Ruby-lang Ruby 1.9.3 p383 All All
Application Ruby-lang Ruby 2.0 All All All
Application Ruby-lang Ruby 2.0.0 All All All
Application Ruby-lang Ruby 2.0.0 rc1 All All
Application Ruby-lang Ruby 2.0.0 rc2 All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Fix CVE-2013-0256, an XSS exploit in RDoc · rdoc/rdoc@ffa8788 · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Third Party Advisory
XSS exploit of RDoc documentation generated by rdoc (CVE-2013-0256) af854a3a-2127-422b-91ae-364da2661108 www.ruby-lang.org Vendor Advisory
openSUSE-SU-2013:0303-1: moderate: rubygem-rdoc: fixed a security bug af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Mailing List, Third Party Advisory
Security Advisory SA52774 - Red Hat update for Red Hat Subscription Asset Manager - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
RDoc XSS vulnerability CVE-2013-0256 releases 3.9.5, 3.12.1, 4.0.0.rc.2 af854a3a-2127-422b-91ae-364da2661108 blog.segment7.net Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Third Party Advisory
[security-announce] SUSE-SU-2013:0647-1: important: Security update for af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Mailing List, Third Party Advisory
USN-1733-1: Ruby vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com Third Party Advisory
907820 – (CVE-2013-0256) CVE-2013-0256 rubygem-rdoc: Cross-site scripting in the documentation created by Darkfish Rdoc HTML generator / template af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report