Cross-site Scripting (XSS) Affecting yard package, versions >=0.8.0, <0.8.7.1


Severity

Recommended
0.0
low
0
10

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

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-YARD-20430
  • published14 Sept 2017
  • disclosed11 Sept 2013
  • creditLoren Segal

Introduced: 11 Sep 2013

CVE NOT AVAILABLE CWE-79  (opens in a new tab)

How to fix?

Upgrade yard to version 0.8.7.1 or higher.

Overview

yard is a documentation generation tool for the Ruby programming language.

Affected versions of the package are vulnerable to Cross-site Scripting (XSS). Strings parsed from the anchor in the address bar were not sanitized, allowing for arbitrary HTML to be embedded into the page.

Details

<>

You can read more about Cross-site Scripting (XSS) on our blog.

References

CVSS Scores

version 3.1