GitHub Advisoryadvisory · npm
GHSA-2vqq-jgxx-fxjc Malicious Package in motiv.scss
CRITICAL
Official page ↗
- Ecosystem
- npm
- Packages
- motiv.scss
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-506
- Reviewed
- 2020-08-31
Affected packages
• npm motiv.scss: >= 0.4.20, < 0.4.21 → fixed in 0.4.21
Description
Version 0.4.20 of `motiv.scss` 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=`
Recommendation
Remove the package from your environment and evaluate your application to determine whether or not user data was compromised.
Related
Weakness · CWE (1)
- CWE-506 Embedded Malicious Code weakness