Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. rdoc
  4. ›
  5. CVE-2013-0256

CVE-2013-0256: XSS exploit of RDoc documentation generated by rdoc

March 1, 2013 (updated June 4, 2013)

This exploit 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. RDoc is a static documentation generation tool. Patching the library itself is insufficient to correct this exploit.

References

  • github.com/rdoc/rdoc/blob/master/CVE-2013-0256.rdoc

Code Behaviors & Features

Detect and mitigate CVE-2013-0256 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.3.0 before 3.9.5, all versions starting from 3.10 before 3.12, all versions starting from 4.0.0.preview2 before 4.0.0.rc.2

Fixed versions

  • 3.12.1
  • 3.9.5
  • 4.0.0.rc.2

Solution

Upgrade abd patches available (see source)

Impact 4.3 MEDIUM

AV:N/AC:M/Au:N/C:N/I:P/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

gem/rdoc/CVE-2013-0256.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:38 +0000.