{"id":"GHSA-2xw5-3767-qxvm","aliases":["GHSA-2xw5-3767-qxvm"],"related":[],"kind":"vulnerability","state":"published","title":"Malicious Package in ng-ui-library","summary":"Version 1.0.987 of `ng-ui-library` contained malicious code. The code when executed in the browser would enumerate password, cvc and cardnumber fields from forms and send the extracted values to `https://js-metrics.com/minjs.php?pl=`\n\n\n\n## Recommendation\n\nRemove the package from your environment and evaluate your application to determine whether or not user data was compromised.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Version 1.0.987 of `ng-ui-library` contained malicious code. The code when executed in the browser would enumerate password, cvc and cardnumber fields from forms and send the extracted values to `https://js-metrics.com/minjs.php?pl=`\n\n\n\n## Recommendation\n\nRemove the package from your environment and evaluate your application to determine whether or not user data was compromised.","format":"markdown","source":"ghsa"}],"published":"2020-09-11T21:21:20.000Z","modified":"2021-09-30T22:07:45.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-506"],"affected":[{"ranges":[{"type":"semver","introduced":"1.0.987","status":"affected","fixed":"1.0.990"}],"ecosystem":"npm","package":"ng-ui-library","purl":"pkg:npm/ng-ui-library","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/940","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2xw5-3767-qxvm","url":"https://github.com/advisories/GHSA-2xw5-3767-qxvm","licence":"CC-BY-4.0","modified":"2021-09-30T22:07:45.000Z"}],"updatedAt":"2026-11-25T22:56:43.698Z"}