Cross-site Scripting (XSS) Affecting zeroclipboard package, versions <1.1.4


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.19% (57th 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:zeroclipboard:20120528
  • published13 Mar 2017
  • disclosed27 May 2012
  • creditKingfo

Introduced: 27 May 2012

CVE-2012-6550  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade zeroclipboard to version 1.1.4 or higher.

Overview

zeroclipboard provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface.

Affected versions of the package are vulnerable to Cross-site Scripting (XSS)due to not escaping the clipText returned from the flash object. This allows remote attackers to inject arbitrary web script or HTML into the browser.

Details

<>

CVSS Scores

version 3.1