Packages / verdaccio / Security

ModerateVulnerabilityGHSA-78j5-gcmf-vqc8CVE-2019-14772Published 29 May 2019

Cross-Site Scripting (XSS) in Verdaccio

Your version

Affected releases · verdaccio

  • 3.x3.0.0 – 3.11.7Fixed in 3.12.0
  • 2.x and older0.1.7 – 2.7.4No fix, no longer updated

On 3.x, the newest line:

npm install verdaccio@3.12.0
Every release on a timeline
7.x
  1. Not affected

    7.0.0 – 7.1.2

    6 releases, latest

3.x
  1. Affected

    3.0.0 – 3.11.7

    34 releases

  2. Fixed

    3.12.0 – 3.13.1

    6 releases

2.x
  1. Affected

    2.0.0 – 2.7.4

    41 releases

1.x
  1. Affected

    1.4.0

    1 release

0.x
  1. Affected

    0.1.7

    1 release

269 stable releases of verdaccio, oldest to newest, one row per major.

What happens

Impact

What kind of vulnerability is it? Who is impacted?

Cross-Site Scripting XSS, malicious packages with content Javascript that might be executed in the User Interface stealing user credentials.

Patches

Has the problem been patched? What versions should users upgrade to?

Users that still using v3 must upgrade to >3.12.0 or those have no problem to migrate to a major version >=4.0.0 also fix the issue.

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

No, the users must update.

References

Are there any links users can visit to find out more?

npmjs.com/advisories/832 npmjs.com/advisories/833

The issue was reported by the NPMJS Security Team

For more information

If you have any questions or comments about this advisory:

  • Read the Security Policy to find the ways to be in contact with us.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.