---
title: "GHSA-78j5-gcmf-vqc8: Cross-Site Scripting (XSS) in Verdaccio"
description: "Moderate severity. Cross-Site Scripting (XSS) in Verdaccio. Affects verdaccio; fixed in 3.12.0."
url: https://inlinr.com/advisories/GHSA-78j5-gcmf-vqc8
lang: en
---

[Packages](https://inlinr.com/packages) / [verdaccio](https://inlinr.com/packages/verdaccio) / [Security](https://inlinr.com/packages/verdaccio/security)

Moderate Vulnerability GHSA-78j5-gcmf-vqc8 CVE-2019-14772 Published 29 May 2019

# Cross-Site Scripting (XSS) in Verdaccio

Your version 

Affected releases · [verdaccio](https://inlinr.com/packages/verdaccio)

- 3.x 3.0.0 – 3.11.7 Fixed in 3.12.0
- 2.x and older 0.1.7 – 2.7.4 No 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](https://www.npmjs.com/advisories/832 "https://www.npmjs.com/advisories/832") [npmjs.com/advisories/833](https://www.npmjs.com/advisories/833 "https://www.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.

## How it is exploited

Exploitable over the network, with no account and a user to do something.

- **Confidentiality**: low
- **Integrity**: low
- **Availability**: none

CVSS:3.0/​AV:N/​AC:L/​PR:N/​UI:R/​S:C/​C:L/​I:L/​A:N

## References

- [Reference](https://github.com/verdaccio/verdaccio/security/advisories/GHSA-78j5-gcmf-vqc8 "https://github.com/verdaccio/verdaccio/security/advisories/GHSA-78j5-gcmf-vqc8")  
github.com/verdaccio/verdaccio/security/advisor…
- [NVD](https://nvd.nist.gov/vuln/detail/CVE-2019-14772 "https://nvd.nist.gov/vuln/detail/CVE-2019-14772")  
nvd.nist.gov/vuln/detail/CVE-2019-14772
- [Package](https://github.com/verdaccio/verdaccio "https://github.com/verdaccio/verdaccio")  
github.com/verdaccio/verdaccio
- [Reference](https://www.npmjs.com/advisories/832 "https://www.npmjs.com/advisories/832")  
npmjs.com/advisories/832
- [Reference](https://www.npmjs.com/advisories/833 "https://www.npmjs.com/advisories/833")  
npmjs.com/advisories/833

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
