Cross-site Scripting (XSS) Affecting yui package, versions <3.0.0 >=2.4.0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.25% (65th 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 IDnpm:yui:20121030
  • published13 Feb 2017
  • disclosed29 Oct 2012
  • creditUnknwon

Introduced: 29 Oct 2012

CVE-2012-5881  (opens in a new tab)
CVE-2012-5882  (opens in a new tab)
CVE-2012-5883  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade yui to version 3.0.0 or higher.

Overview

yui is an open source JavaScript and CSS framework for building richly interactive web applications. Affected versions of the package are vulnerable to Cross-site Scripting (XSS) via .swf files, allowing arbitrary code injection into the hosting server.

Notes:

  • If your site loads YUI 2 from a CDN (yui.yahooapis.com, ajax.googleapis.com, etc.) and not from your own domain, you are not affected.
  • YUI 3 is not affected by this issue.
  • Whether or not your site uses the affected components, simply hosting an affected file means you are vulnerable.

This vulnerability is similar to CVE-2010-4207.

Details

<>

CVSS Scores

version 3.1