rubygem-rdoc: Cross-site scripting in the documentation created by Darkfish Rdoc HTML generator / template
Published Mar 1, 2013
5.4
MEDIUMCVSS 3.1
EPSS 2.99%
Description
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.
Affected products
No data.
Configuration 1
- ≥ 2.3.0 · < 3.12
- 4.0.0
- 1.9
- 1.9.1
- 1.9.2
- 1.9.3
- 1.9.3
- 1.9.3
- 1.9.3
- 1.9.3
- 1.9.3
- 2.0
- 2.0.0
- 2.0.0
- 2.0.0
Configuration 2
- 12.04
- 12.10
No data.
CloudForms for RHEL 6
rubygem-activesupport-1:3.0.10-10.el6cf
Fixed · RHSA-2013:0548
CloudForms for RHEL 6
rubygem-delayed_job-0:2.1.4-3.el6cf
Fixed · RHSA-2013:0548
CloudForms for RHEL 6
rubygem-nokogiri-0:1.5.0-0.9.beta4.el6cf
Fixed · RHSA-2013:0548
CloudForms for RHEL 6
rubygem-rack-1:1.3.0-3.el6cf
Fixed · RHSA-2013:0548
CloudForms for RHEL 6
rubygem-rails_warden-0:0.5.5-2.el6cf
Fixed · RHSA-2013:0548
CloudForms for RHEL 6
rubygem-rdoc-0:3.8-6.el6cf
Fixed · RHSA-2013:0548
CloudForms for RHEL 6
rubygem-rspec-rails-0:2.6.1-7.el6cf
Fixed · RHSA-2013:0548
CloudForms for RHEL 6
rubygem-ruby_parser-0:2.0.4-6.el6cf
Fixed · RHSA-2013:0548
CloudForms for RHEL 6
rubygem-shoulda-0:2.11.3-5.el6cf
Fixed · RHSA-2013:0548
RHEL 6 Version of OpenShift Enterprise
ruby193-ruby-0:1.9.3.327-28.el6
Fixed · RHSA-2013:0701
RHEL 6 Version of OpenShift Enterprise
ruby193-rubygem-activesupport-1:3.2.8-4.el6
Fixed · RHSA-2013:0728
RHEL 6 Version of OpenShift Enterprise
ruby193-rubygem-bcrypt-ruby-0:3.0.1-7.el6
Fixed · RHSA-2013:0728
RHEL 6 Version of OpenShift Enterprise
ruby193-rubygem-bson-0:1.5.2-6.el6op
Fixed · RHSA-2013:0728
RHEL 6 Version of OpenShift Enterprise
ruby193-rubygem-chunky_png-0:1.2.6-3.el6op
Fixed · RHSA-2013:0728
RHEL 6 Version of OpenShift Enterprise
ruby193-rubygem-ci_reporter-0:1.7.2-4.el6op
Fixed · RHSA-2013:0728
RHEL 6 Version of OpenShift Enterprise
ruby193-rubygem-compass-0:0.12.2-4.el6op
Fixed · RHSA-2013:0728
RHEL 6 Version of OpenShift Enterprise
ruby193-rubygem-fastthread-0:1.0.7-7.el6op
Fixed · RHSA-2013:0728
RHEL 6 Version of OpenShift Enterprise
ruby193-rubygem-haml-0:3.1.7-3.el6op
Fixed · RHSA-2013:0728
RHEL 6 Version of OpenShift Enterprise
ruby193-rubygem-http_connection-0:1.4.1-7.el6
Fixed · RHSA-2013:0728
RHEL 6 Version of OpenShift Enterprise
ruby193-rubygem-rack-1:1.4.1-5.el6
Fixed · RHSA-2013:0728
RHEL 6 Version of OpenShift Enterprise
ruby193-rubygem-rack-test-0:0.6.1-3.el6
Fixed · RHSA-2013:0728
RHEL 6 Version of OpenShift Enterprise
ruby193-rubygem-rspec-0:2.11.0-2.el6
Fixed · RHSA-2013:0728
RHEL 6 Version of OpenShift Enterprise
ruby193-rubygem-treetop-0:1.4.10-6.el6
Fixed · RHSA-2013:0728
RHEL 6 Version of OpenShift Enterprise
ruby193-rubygem-xml-simple-0:1.0.12-10.el6op
Fixed · RHSA-2013:0728
RHEL 6 Version of OpenShift Enterprise
rubygem-json-0:1.7.3-2.el6op
Fixed · RHSA-2013:0701
RHEL 6 Version of OpenShift Enterprise
rubygem-rdoc-0:3.8-9.el6op
Fixed · RHSA-2013:0701
Red Hat Subscription Asset Manager 1.2
candlepin-0:0.7.24-1.el6_3
Fixed · RHSA-2013:0686
Red Hat Subscription Asset Manager 1.2
katello-0:1.2.1.1-1h.el6_4
Fixed · RHSA-2013:0686
Red Hat Subscription Asset Manager 1.2
katello-configure-0:1.2.3.1-4h.el6_4
Fixed · RHSA-2013:0686
Red Hat Subscription Asset Manager 1.2
rubygem-actionpack-1:3.0.10-12.el6cf
Fixed · RHSA-2013:0686
Red Hat Subscription Asset Manager 1.2
rubygem-activemodel-0:3.0.10-3.el6cf
Fixed · RHSA-2013:0686
Red Hat Subscription Asset Manager 1.2
rubygem-delayed_job-0:2.1.4-3.el6cf
Fixed · RHSA-2013:0686
Red Hat Subscription Asset Manager 1.2
rubygem-json-0:1.7.3-2.el6_3
Fixed · RHSA-2013:0686
Red Hat Subscription Asset Manager 1.2
rubygem-nokogiri-0:1.5.0-0.9.beta4.el6cf
Fixed · RHSA-2013:0686
Red Hat Subscription Asset Manager 1.2
rubygem-rack-1:1.3.0-4.el6cf
Fixed · RHSA-2013:0686
Red Hat Subscription Asset Manager 1.2
rubygem-rails_warden-0:0.5.5-2.el6cf
Fixed · RHSA-2013:0686
Red Hat Subscription Asset Manager 1.2
rubygem-rdoc-0:3.8-6.el6cf
Fixed · RHSA-2013:0686
Red Hat Subscription Asset Manager 1.2
thumbslug-0:0.0.28.1-1.el6_4
Fixed · 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
| Product | Package | State | Advisory |
|---|---|---|---|
| CloudForms for RHEL 6 | rubygem-activesupport-1:3.0.10-10.el6cf | Fixed | RHSA-2013:0548 |
| CloudForms for RHEL 6 | rubygem-delayed_job-0:2.1.4-3.el6cf | Fixed | RHSA-2013:0548 |
| CloudForms for RHEL 6 | rubygem-nokogiri-0:1.5.0-0.9.beta4.el6cf | Fixed | RHSA-2013:0548 |
| CloudForms for RHEL 6 | rubygem-rack-1:1.3.0-3.el6cf | Fixed | RHSA-2013:0548 |
| CloudForms for RHEL 6 | rubygem-rails_warden-0:0.5.5-2.el6cf | Fixed | RHSA-2013:0548 |
| CloudForms for RHEL 6 | rubygem-rdoc-0:3.8-6.el6cf | Fixed | RHSA-2013:0548 |
| CloudForms for RHEL 6 | rubygem-rspec-rails-0:2.6.1-7.el6cf | Fixed | RHSA-2013:0548 |
| CloudForms for RHEL 6 | rubygem-ruby_parser-0:2.0.4-6.el6cf | Fixed | RHSA-2013:0548 |
| CloudForms for RHEL 6 | rubygem-shoulda-0:2.11.3-5.el6cf | Fixed | RHSA-2013:0548 |
| RHEL 6 Version of OpenShift Enterprise | ruby193-ruby-0:1.9.3.327-28.el6 | Fixed | RHSA-2013:0701 |
| RHEL 6 Version of OpenShift Enterprise | ruby193-rubygem-activesupport-1:3.2.8-4.el6 | Fixed | RHSA-2013:0728 |
| RHEL 6 Version of OpenShift Enterprise | ruby193-rubygem-bcrypt-ruby-0:3.0.1-7.el6 | Fixed | RHSA-2013:0728 |
| RHEL 6 Version of OpenShift Enterprise | ruby193-rubygem-bson-0:1.5.2-6.el6op | Fixed | RHSA-2013:0728 |
| RHEL 6 Version of OpenShift Enterprise | ruby193-rubygem-chunky_png-0:1.2.6-3.el6op | Fixed | RHSA-2013:0728 |
| RHEL 6 Version of OpenShift Enterprise | ruby193-rubygem-ci_reporter-0:1.7.2-4.el6op | Fixed | RHSA-2013:0728 |
| RHEL 6 Version of OpenShift Enterprise | ruby193-rubygem-compass-0:0.12.2-4.el6op | Fixed | RHSA-2013:0728 |
| RHEL 6 Version of OpenShift Enterprise | ruby193-rubygem-fastthread-0:1.0.7-7.el6op | Fixed | RHSA-2013:0728 |
| RHEL 6 Version of OpenShift Enterprise | ruby193-rubygem-haml-0:3.1.7-3.el6op | Fixed | RHSA-2013:0728 |
| RHEL 6 Version of OpenShift Enterprise | ruby193-rubygem-http_connection-0:1.4.1-7.el6 | Fixed | RHSA-2013:0728 |
| RHEL 6 Version of OpenShift Enterprise | ruby193-rubygem-rack-1:1.4.1-5.el6 | Fixed | RHSA-2013:0728 |
| RHEL 6 Version of OpenShift Enterprise | ruby193-rubygem-rack-test-0:0.6.1-3.el6 | Fixed | RHSA-2013:0728 |
| RHEL 6 Version of OpenShift Enterprise | ruby193-rubygem-rspec-0:2.11.0-2.el6 | Fixed | RHSA-2013:0728 |
| RHEL 6 Version of OpenShift Enterprise | ruby193-rubygem-treetop-0:1.4.10-6.el6 | Fixed | RHSA-2013:0728 |
| RHEL 6 Version of OpenShift Enterprise | ruby193-rubygem-xml-simple-0:1.0.12-10.el6op | Fixed | RHSA-2013:0728 |
| RHEL 6 Version of OpenShift Enterprise | rubygem-json-0:1.7.3-2.el6op | Fixed | RHSA-2013:0701 |
| RHEL 6 Version of OpenShift Enterprise | rubygem-rdoc-0:3.8-9.el6op | Fixed | RHSA-2013:0701 |
| Red Hat Subscription Asset Manager 1.2 | candlepin-0:0.7.24-1.el6_3 | Fixed | RHSA-2013:0686 |
| Red Hat Subscription Asset Manager 1.2 | katello-0:1.2.1.1-1h.el6_4 | Fixed | RHSA-2013:0686 |
| Red Hat Subscription Asset Manager 1.2 | katello-configure-0:1.2.3.1-4h.el6_4 | Fixed | RHSA-2013:0686 |
| Red Hat Subscription Asset Manager 1.2 | rubygem-actionpack-1:3.0.10-12.el6cf | Fixed | RHSA-2013:0686 |
| Red Hat Subscription Asset Manager 1.2 | rubygem-activemodel-0:3.0.10-3.el6cf | Fixed | RHSA-2013:0686 |
| Red Hat Subscription Asset Manager 1.2 | rubygem-delayed_job-0:2.1.4-3.el6cf | Fixed | RHSA-2013:0686 |
| Red Hat Subscription Asset Manager 1.2 | rubygem-json-0:1.7.3-2.el6_3 | Fixed | RHSA-2013:0686 |
| Red Hat Subscription Asset Manager 1.2 | rubygem-nokogiri-0:1.5.0-0.9.beta4.el6cf | Fixed | RHSA-2013:0686 |
| Red Hat Subscription Asset Manager 1.2 | rubygem-rack-1:1.3.0-4.el6cf | Fixed | RHSA-2013:0686 |
| Red Hat Subscription Asset Manager 1.2 | rubygem-rails_warden-0:0.5.5-2.el6cf | Fixed | RHSA-2013:0686 |
| Red Hat Subscription Asset Manager 1.2 | rubygem-rdoc-0:3.8-6.el6cf | Fixed | RHSA-2013:0686 |
| Red Hat Subscription Asset Manager 1.2 | thumbslug-0:0.0.28.1-1.el6_4 | Fixed | RHSA-2013:0686 |
| OpenShift Enterprise 1 | rubygem-haml | Affected | n/a |
| Red Hat Enterprise MRG 2 | rubygem-haml | Affected | n/a |
| Red Hat Subscription Asset Manager | rubygem-haml | Affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (16 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 2.99% (0.02992) | 86.87th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.59% (0.03592) | 87.91th | v5 (v2026.06.15) |
| Dec 28, 2025 | 3.58% (0.03584) | 87.38th | v4 (v2025.03.14) |
| Dec 27, 2025 | 2.17% (0.02165) | 83.89th | v4 (v2025.03.14) |
| Oct 28, 2025 | 3.58% (0.03584) | 87.22th | v4 (v2025.03.14) |
| Oct 27, 2025 | 2.17% (0.02165) | 83.75th | v4 (v2025.03.14) |
| Oct 1, 2025 | 3.58% (0.03584) | 87.32th | v4 (v2025.03.14) |
| Mar 30, 2025 | 2.10% (0.02099) | 82.50th | v4 (v2025.03.14) |
| Mar 29, 2025 | 3.90% (0.03895) | 80.16th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.10% (0.02099) | 82.87th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.38% (0.00383) | 73.89th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.38% (0.00383) | 72.30th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.38% (0.00383) | 68.80th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.96% (0.01955) | 78.47th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.96% (0.01955) | 76.59th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.96% (0.01955) | 55.71th | v2 (v2022.01.01) |
References (18)
- 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 x_refsource_MISCThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00015.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-updates/2013-02/msg00048.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2013-0548.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2013-0686.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2013-0701.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2013-0728.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://secunia.com/advisories/52774 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://www.ruby-lang.org/en/news/2013/02/06/rdoc-xss-cve-2013-0256/ x_refsource_CONFIRMVendor Advisory
- http://www.ubuntu.com/usn/USN-1733-1 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2013-0256 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=907820 x_refsource_MISCIssue Tracking
- https://github.com/advisories/GHSA-v2r9-c84j-v7xm Advisory
- https://github.com/rdoc/rdoc/commit/ffa87887ee0517793df7541629a470e331f9fe60 x_refsource_CONFIRMThird Party Advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rdoc/CVE-2013-0256.yml
- https://nvd.nist.gov/vuln/detail/CVE-2013-0256
- https://web.archive.org/web/20130402173730/http://blog.segment7.net:80/2013/02/06/rdoc-xss-vulnerability-cve-2013-0256-releases-3-9-5-3-12-1-4-0-0-rc-2
- https://www.cve.org/CVERecord?id=CVE-2013-0256
Change history (0)
No recorded changes yet.