cve.bz

CVE-2013-0256 Cross-site Scripting

no score yetEPSS 3.0%Fix available

No CVSS score yet. EPSS 3.0% estimated probability of exploitation activity in the next 30 days. Fixed in rdoc 3.12.1.

On this page
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.
EPSS
3.0% (unchanged from 3.0% a week ago; 3.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2013-0256 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2013-0256?via=ask-ai-copy and https://cve.bz/cve/CVE-2013-0256?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2013-0256 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
ruby-lang:rdocfrom 2.3.0 before 3.12
ruby-lang:rdoc4.0.0:preview2
ruby-lang:ruby1.9
ruby-lang:ruby1.9.1
ruby-lang:ruby1.9.2
ruby-lang:ruby1.9.3
ruby-lang:ruby1.9.3:p0
ruby-lang:ruby1.9.3:p125
ruby-lang:ruby1.9.3:p194
ruby-lang:ruby1.9.3:p286
ruby-lang:ruby1.9.3:p383
ruby-lang:ruby2.0
ruby-lang:ruby2.0.0
ruby-lang:ruby2.0.0:rc1
ruby-lang:ruby2.0.0:rc2
canonical:ubuntu_linux12.04
canonical:ubuntu_linux12.10

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v2r9-c84j-v7xmRubyGemsrdoc>=2.3.0 <3.12.13.12.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0ruby1.9.11.9.2.0-2+deb6u4DLA-235-1
Red Hatopenshift:1::el6ruby193-ruby, ruby193-ruby-doc, ruby193-ruby-irb and 4 more0:1.9.3.327-28.el6RHSA-2013:0701
Red Hatopenshift:1::el6ruby193-rubygem-activesupport1:3.2.8-4.el6RHSA-2013:0728
Red Hatopenshift:1::el6ruby193-rubygem-bcrypt-ruby, ruby193-rubygem-bcrypt-ruby-debuginfo0:3.0.1-7.el6RHSA-2013:0728
Red Hatopenshift:1::el6ruby193-rubygem-bigdecimal0:1.1.0-28.el6RHSA-2013:0701
Red Hatopenshift:1::el6ruby193-rubygem-bson0:1.5.2-6.el6opRHSA-2013:0728
Red Hatopenshift:1::el6ruby193-rubygem-chunky_png0:1.2.6-3.el6opRHSA-2013:0728
Red Hatopenshift:1::el6ruby193-rubygem-ci_reporter0:1.7.2-4.el6opRHSA-2013:0728
Red Hatopenshift:1::el6ruby193-rubygem-compass0:0.12.2-4.el6opRHSA-2013:0728
Red Hatopenshift:1::el6ruby193-rubygem-fastthread, ruby193-rubygem-fastthread-debuginfo0:1.0.7-7.el6opRHSA-2013:0728
Red Hatopenshift:1::el6ruby193-rubygem-haml0:3.1.7-3.el6opRHSA-2013:0728
Red Hatopenshift:1::el6ruby193-rubygem-http_connection0:1.4.1-7.el6RHSA-2013:0728
Red Hatopenshift:1::el6ruby193-rubygem-io-console0:0.3-28.el6RHSA-2013:0701
12 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
CloudForms for RHEL 6rubygem-activesupport-1:3.0.10-10.el6cfFixed 2013-02-21RHSA-2013:0548
CloudForms for RHEL 6rubygem-delayed_job-0:2.1.4-3.el6cfFixed 2013-02-21RHSA-2013:0548
CloudForms for RHEL 6rubygem-nokogiri-0:1.5.0-0.9.beta4.el6cfFixed 2013-02-21RHSA-2013:0548
CloudForms for RHEL 6rubygem-rack-1:1.3.0-3.el6cfFixed 2013-02-21RHSA-2013:0548
CloudForms for RHEL 6rubygem-rails_warden-0:0.5.5-2.el6cfFixed 2013-02-21RHSA-2013:0548
CloudForms for RHEL 6rubygem-rdoc-0:3.8-6.el6cfFixed 2013-02-21RHSA-2013:0548
CloudForms for RHEL 6rubygem-rspec-rails-0:2.6.1-7.el6cfFixed 2013-02-21RHSA-2013:0548
CloudForms for RHEL 6rubygem-ruby_parser-0:2.0.4-6.el6cfFixed 2013-02-21RHSA-2013:0548
CloudForms for RHEL 6rubygem-shoulda-0:2.11.3-5.el6cfFixed 2013-02-21RHSA-2013:0548
Red Hat Subscription Asset Manager 1.2candlepin-0:0.7.24-1.el6_3Fixed 2013-03-26RHSA-2013:0686
Red Hat Subscription Asset Manager 1.2katello-0:1.2.1.1-1h.el6_4Fixed 2013-03-26RHSA-2013:0686
Red Hat Subscription Asset Manager 1.2katello-configure-0:1.2.3.1-4h.el6_4Fixed 2013-03-26RHSA-2013:0686
Red Hat Subscription Asset Manager 1.2rubygem-actionpack-1:3.0.10-12.el6cfFixed 2013-03-26RHSA-2013:0686
Red Hat Subscription Asset Manager 1.2rubygem-activemodel-0:3.0.10-3.el6cfFixed 2013-03-26RHSA-2013:0686
Red Hat Subscription Asset Manager 1.2rubygem-delayed_job-0:2.1.4-3.el6cfFixed 2013-03-26RHSA-2013:0686
Red Hat Subscription Asset Manager 1.2rubygem-json-0:1.7.3-2.el6_3Fixed 2013-03-26RHSA-2013:0686
Red Hat Subscription Asset Manager 1.2rubygem-nokogiri-0:1.5.0-0.9.beta4.el6cfFixed 2013-03-26RHSA-2013:0686
OpenShift Enterprise 1rubygem-hamlAffected
Red Hat Enterprise MRG 2rubygem-hamlAffected
Red Hat Subscription Asset Managerrubygem-hamlAffected
21 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2013-0256.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON