Cross-site Scripting (XSS) Affecting rdoc package, versions < 4.0, >= 3.13< 3.12.1, >= 3.10< 3.9.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.38% (74th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-RDOC-20057
  • published5 Feb 2013
  • disclosed5 Feb 2013
  • creditEvgeny Ermakov

Introduced: 5 Feb 2013

CVE-2013-0256  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade rdoc to versions 4.0, 3.12.1, 3.9.5 or higher.

Overview

rdoc is a gem that produces HTML and command-line documentation for Ruby projects.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) attack, which may lead to cookie disclosure to third parties. The exploit exists in darkfish.js which is copied from the rdoc install location to the generated documentation. Due to the way that rdoc generates static documentation, any documentation generated using an affected version of rdoc should be regenerated using the patched version.

Details

<>

CVSS Scores

version 3.1