Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/ua-parser-js@1.0.0
purl pkg:npm/ua-parser-js@1.0.0
Tags Ghost
Next non-vulnerable version 1.0.33
Latest non-vulnerable version 1.0.33
Risk 4.0
Vulnerabilities affecting this package (2)
Vulnerability Summary Fixed by
VCID-dmh1-fut8-2ygz
Aliases:
CVE-2021-4229
GHSA-pjwm-rvh2-c87w
GMS-2021-1
Embedded malware in ua-parser-js The npm package `ua-parser-js` had three versions published with malicious code. Users of affected versions (0.7.29, 0.8.0, 1.0.0) should upgrade as soon as possible and check their systems for suspicious activity. See [this issue](https://github.com/faisalman/ua-parser-js/issues/536) for details as they unfold. Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
1.0.1
Affected by 1 other vulnerability.
VCID-sy9w-7ehk-m3he
Aliases:
GHSA-236c-vhj4-gfxg
Duplicate Advisory: Embedded malware in ua-parser-js ### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-pjwm-rvh2-c87w. This link is maintained to preserve external references. ### Original Description A vulnerability was found in ua-parser-js 0.7.29/0.8.0/1.0.0. It has been rated as critical. This issue affects the crypto mining component which introduces a backdoor. Upgrading to version 0.7.30, 0.8.1 and 1.0.1 is able to address this issue. It is recommended to upgrade the affected component.
1.0.1
Affected by 1 other vulnerability.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-03T21:27:04.276766+00:00 GitLab Importer Affected by VCID-sy9w-7ehk-m3he https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/ua-parser-js/GHSA-236c-vhj4-gfxg.yml 38.1.0
2026-04-02T16:58:23.182507+00:00 GHSA Importer Affected by VCID-dmh1-fut8-2ygz https://github.com/advisories/GHSA-pjwm-rvh2-c87w 38.1.0
2026-04-01T16:02:30.678339+00:00 GHSA Importer Affected by VCID-sy9w-7ehk-m3he https://github.com/advisories/GHSA-236c-vhj4-gfxg 38.0.0
2026-04-01T13:09:22.906948+00:00 GithubOSV Importer Affected by VCID-sy9w-7ehk-m3he https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-236c-vhj4-gfxg/GHSA-236c-vhj4-gfxg.json 38.0.0
2026-04-01T13:00:41.305237+00:00 GithubOSV Importer Affected by VCID-dmh1-fut8-2ygz https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-pjwm-rvh2-c87w/GHSA-pjwm-rvh2-c87w.json 38.0.0
2026-04-01T12:48:58.029628+00:00 GitLab Importer Affected by VCID-dmh1-fut8-2ygz https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/ua-parser-js/CVE-2021-4229.yml 38.0.0