Cross-Site Scripting (XSS) in Verdaccio
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?
https://www.npmjs.com/advisories/832 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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | verdaccio | < 3.12.0 | 3.12.0 |
References
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- npm
- Package
verdaccio- Disclosed
- 29.05.2019
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-78j5-gcmf-vqc8 - CC BY 4.0
Vulnerability history: verdaccio
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.