Skip to content
Fencer Intel
medium 4.3

CVE-2013-0256 json

RDoc contains XSS vulnerability

published 13y ago modified 4mo ago also GHSA-v2r9-c84j-v7xm , EUVD-2017-0308

cvss
4.3
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.0%
EPSS 3.0% chance of exploitation in 30 days, percentile 87%
public exploits
0
none known

Summary

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.

Patch / fix

  • rubygems rdoc 3.12.1
  • ruby-lang rdoc 3.12
  • rubygem-json openshift 1 1.7.3-2.el6op
  • rubygem-rdoc openshift 1 3.8-9.el6op
  • ruby193-ruby openshift 1 1.9.3.327-28.el6
  • ruby193-ruby-irb openshift 1 1.9.3.327-28.el6
  • ruby193-rubygems openshift 1 1.8.23-28.el6
  • ruby193-ruby-libs openshift 1 1.9.3.327-28.el6
  • ruby193-ruby-tcltk openshift 1 1.9.3.327-28.el6
  • ruby193-rubygem-json openshift 1 1.5.4-28.el6

red hat advisories RHSA-2013:0701RHSA-2013:0728

Is CVE-2013-0256 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2013-0256 updated cvss 5.4

rubygem-rdoc: Cross-site scripting in the documentation created by Darkfish Rdoc HTML generator / template

  • Red Hat OpenShift Enterprise 1 rubygem-haml Red Hat Enterprise MRG 2 rubygem-haml Red Hat Subscription Asset Manager rubygem-haml
    affected: no fix available
  • Red Hat CloudForms Cloud Engine for RHEL 6 Server rubygem-rdoc 3.8-6.el6cf, rubygem-rack 1.3.0-3.el6cf, rubygem-shoulda 2.11.3-5.el6cf, rubygem-delayed_job 2.1.4-3.el6cf, rubygem-rspec-rails 2.6.1-7.el6cf, rubygem-ruby_parser 2.0.4-6.el6cf, +4 more Red Hat CloudForms System Engine for RHEL 6 Server rubygem-rdoc 3.8-6.el6cf, rubygem-rack 1.3.0-3.el6cf, rubygem-delayed_job 2.1.4-3.el6cf, rubygem-ruby_parser 2.0.4-6.el6cf, rubygem-rails_warden 0.5.5-2.el6cf, ruby-nokogiri 1.5.0-0.9.beta4.el6cf, +2 more
    fixed: vendor fix RHSA-2013:0548
  • Red Hat OpenShift Enterprise Infrastructure rubygem-rdoc 3.8-9.el6op, rubygem-json 1.7.3-2.el6op, ruby193-ruby 1.9.3.327-28.el6, ruby193-rubygems 1.8.23-28.el6, ruby193-rubygem-rack 1.4.1-5.el6, ruby193-ruby-irb 1.9.3.327-28.el6, +21 more Red Hat OpenShift Enterprise Node rubygem-json 1.7.3-2.el6op, ruby193-ruby 1.9.3.327-28.el6, ruby193-rubygems 1.8.23-28.el6, ruby193-rubygem-rack 1.4.1-5.el6, ruby193-ruby-irb 1.9.3.327-28.el6, ruby193-rubygem-json 1.5.4-28.el6, +16 more
    fixed: vendor fix RHSA-2013:0701
  • Red Hat Subscription Asset Manager for RHEL 6 Server candlepin 0.7.24-1.el6_3, katello 1.2.1.1-1h.el6_4, rubygem-rdoc 3.8-6.el6cf, rubygem-json 1.7.3-2.el6_3, rubygem-rack 1.3.0-4.el6cf, thumbslug 0.0.28.1-1.el6_4, +14 more
    fixed: vendor fix RHSA-2013:0686

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.99% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected packages

ecosystem package affected fixed in
rubygems rdoc
>=2.3.0, <3.12.1
3.12.1

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.