CVE-2013-0256 Cross-site Scripting
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
- 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
rdoc(RubyGems): fixed in 3.12.1- Debian, Red Hat: fixed package versions per release
- Vendor advisory: http://www.ruby-lang.org/en/news/2013/02/06/rdoc-xss-cve-2013-0256/
Ask an AI about this CVE
Show the prompt
Explain 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.
| Product | Affected |
|---|---|
| ruby-lang:rdoc | from 2.3.0 before 3.12 |
| ruby-lang:rdoc | 4.0.0:preview2 |
| ruby-lang:ruby | 1.9 |
| ruby-lang:ruby | 1.9.1 |
| ruby-lang:ruby | 1.9.2 |
| ruby-lang:ruby | 1.9.3 |
| ruby-lang:ruby | 1.9.3:p0 |
| ruby-lang:ruby | 1.9.3:p125 |
| ruby-lang:ruby | 1.9.3:p194 |
| ruby-lang:ruby | 1.9.3:p286 |
| ruby-lang:ruby | 1.9.3:p383 |
| ruby-lang:ruby | 2.0 |
| ruby-lang:ruby | 2.0.0 |
| ruby-lang:ruby | 2.0.0:rc1 |
| ruby-lang:ruby | 2.0.0:rc2 |
| canonical:ubuntu_linux | 12.04 |
| canonical:ubuntu_linux | 12.10 |
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-v2r9-c84j-v7xm | RubyGems | rdoc | >=2.3.0 <3.12.1 | 3.12.1 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 6.0 | ruby1.9.1 | 1.9.2.0-2+deb6u4 | DLA-235-1 |
| Red Hat | openshift:1::el6 | ruby193-ruby, ruby193-ruby-doc, ruby193-ruby-irb and 4 more | 0:1.9.3.327-28.el6 | RHSA-2013:0701 |
| Red Hat | openshift:1::el6 | ruby193-rubygem-activesupport | 1:3.2.8-4.el6 | RHSA-2013:0728 |
| Red Hat | openshift:1::el6 | ruby193-rubygem-bcrypt-ruby, ruby193-rubygem-bcrypt-ruby-debuginfo | 0:3.0.1-7.el6 | RHSA-2013:0728 |
| Red Hat | openshift:1::el6 | ruby193-rubygem-bigdecimal | 0:1.1.0-28.el6 | RHSA-2013:0701 |
| Red Hat | openshift:1::el6 | ruby193-rubygem-bson | 0:1.5.2-6.el6op | RHSA-2013:0728 |
| Red Hat | openshift:1::el6 | ruby193-rubygem-chunky_png | 0:1.2.6-3.el6op | RHSA-2013:0728 |
| Red Hat | openshift:1::el6 | ruby193-rubygem-ci_reporter | 0:1.7.2-4.el6op | RHSA-2013:0728 |
| Red Hat | openshift:1::el6 | ruby193-rubygem-compass | 0:0.12.2-4.el6op | RHSA-2013:0728 |
| Red Hat | openshift:1::el6 | ruby193-rubygem-fastthread, ruby193-rubygem-fastthread-debuginfo | 0:1.0.7-7.el6op | RHSA-2013:0728 |
| Red Hat | openshift:1::el6 | ruby193-rubygem-haml | 0:3.1.7-3.el6op | RHSA-2013:0728 |
| Red Hat | openshift:1::el6 | ruby193-rubygem-http_connection | 0:1.4.1-7.el6 | RHSA-2013:0728 |
| Red Hat | openshift:1::el6 | ruby193-rubygem-io-console | 0:0.3-28.el6 | RHSA-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.
| Product | Package | State | Advisory |
|---|---|---|---|
| CloudForms for RHEL 6 | rubygem-activesupport-1:3.0.10-10.el6cf | Fixed 2013-02-21 | RHSA-2013:0548 |
| CloudForms for RHEL 6 | rubygem-delayed_job-0:2.1.4-3.el6cf | Fixed 2013-02-21 | RHSA-2013:0548 |
| CloudForms for RHEL 6 | rubygem-nokogiri-0:1.5.0-0.9.beta4.el6cf | Fixed 2013-02-21 | RHSA-2013:0548 |
| CloudForms for RHEL 6 | rubygem-rack-1:1.3.0-3.el6cf | Fixed 2013-02-21 | RHSA-2013:0548 |
| CloudForms for RHEL 6 | rubygem-rails_warden-0:0.5.5-2.el6cf | Fixed 2013-02-21 | RHSA-2013:0548 |
| CloudForms for RHEL 6 | rubygem-rdoc-0:3.8-6.el6cf | Fixed 2013-02-21 | RHSA-2013:0548 |
| CloudForms for RHEL 6 | rubygem-rspec-rails-0:2.6.1-7.el6cf | Fixed 2013-02-21 | RHSA-2013:0548 |
| CloudForms for RHEL 6 | rubygem-ruby_parser-0:2.0.4-6.el6cf | Fixed 2013-02-21 | RHSA-2013:0548 |
| CloudForms for RHEL 6 | rubygem-shoulda-0:2.11.3-5.el6cf | Fixed 2013-02-21 | RHSA-2013:0548 |
| Red Hat Subscription Asset Manager 1.2 | candlepin-0:0.7.24-1.el6_3 | Fixed 2013-03-26 | RHSA-2013:0686 |
| Red Hat Subscription Asset Manager 1.2 | katello-0:1.2.1.1-1h.el6_4 | Fixed 2013-03-26 | RHSA-2013:0686 |
| Red Hat Subscription Asset Manager 1.2 | katello-configure-0:1.2.3.1-4h.el6_4 | Fixed 2013-03-26 | RHSA-2013:0686 |
| Red Hat Subscription Asset Manager 1.2 | rubygem-actionpack-1:3.0.10-12.el6cf | Fixed 2013-03-26 | RHSA-2013:0686 |
| Red Hat Subscription Asset Manager 1.2 | rubygem-activemodel-0:3.0.10-3.el6cf | Fixed 2013-03-26 | RHSA-2013:0686 |
| Red Hat Subscription Asset Manager 1.2 | rubygem-delayed_job-0:2.1.4-3.el6cf | Fixed 2013-03-26 | RHSA-2013:0686 |
| Red Hat Subscription Asset Manager 1.2 | rubygem-json-0:1.7.3-2.el6_3 | Fixed 2013-03-26 | RHSA-2013:0686 |
| Red Hat Subscription Asset Manager 1.2 | rubygem-nokogiri-0:1.5.0-0.9.beta4.el6cf | Fixed 2013-03-26 | RHSA-2013:0686 |
| OpenShift Enterprise 1 | rubygem-haml | Affected | |
| Red Hat Enterprise MRG 2 | rubygem-haml | Affected | |
| Red Hat Subscription Asset Manager | rubygem-haml | Affected | |
| 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
- http://www.ruby-lang.org/en/news/2013/02/06/rdoc-xss-cve-2013-0256/
- http://blog.segment7.net/2013/02/06/rdoc-xss-vulnerability-cve-2013-0256-releases-3-9-5-3-12-1-4-0-0-rc-2
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00015.html
- http://lists.opensuse.org/opensuse-updates/2013-02/msg00048.html
- http://rhn.redhat.com/errata/RHSA-2013-0548.html
- http://rhn.redhat.com/errata/RHSA-2013-0686.html
- http://rhn.redhat.com/errata/RHSA-2013-0701.html
- http://rhn.redhat.com/errata/RHSA-2013-0728.html
- http://secunia.com/advisories/52774
- http://www.ubuntu.com/usn/USN-1733-1
- https://bugzilla.redhat.com/show_bug.cgi?id=907820
- https://github.com/rdoc/rdoc/commit/ffa87887ee0517793df7541629a470e331f9fe60