{"cve":"CVE-2021-4229","nvd":{"published":"2022-05-24T16:15:07.680","modified":"2026-06-17T04:19:18.677","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-829","CWE-912"],"references":["https://github.com/advisories/GHSA-pjwm-rvh2-c87w","https://github.com/faisalman/ua-parser-js/issues/536","https://vuldb.com/?id.185453","https://github.com/advisories/GHSA-pjwm-rvh2-c87w","https://github.com/faisalman/ua-parser-js/issues/536"],"products":["ua-parser-js_project:ua-parser-js"],"source":"nvd","synced_at":"2026-10-19T21:31:59.322382750+00:00"},"epss":{"cve":"CVE-2021-4229","score":0.01518,"percentile":0.74558,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-pjwm-rvh2-c87w","url":"https://osv.dev/vulnerability/GHSA-pjwm-rvh2-c87w","summary":"Embedded malware in ua-parser-js","modified":"2026-07-15T22:30:43.045853758Z","packages":[{"ecosystem":"npm","name":"ua-parser-js","purl":"pkg:npm/ua-parser-js","ranges":[">=0.7.29 <0.7.30"],"fixed":["0.7.30"]},{"ecosystem":"npm","name":"ua-parser-js","purl":"pkg:npm/ua-parser-js","ranges":[">=0.8.0 <0.8.1"],"fixed":["0.8.1"]},{"ecosystem":"npm","name":"ua-parser-js","purl":"pkg:npm/ua-parser-js","ranges":[">=1.0.0 <1.0.1"],"fixed":["1.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}