Malicious Package in motiv.scssGHSA-2vqq-jgxx-fxjc
CRITICALGHSA-2vqq-jgxx-fxjc is a critical-severity (CVSS 9.8) vulnerability in motiv.scss. A fix is available for motiv.scss — see the affected versions and patch details below.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, a proxy for how much of the ecosystem is exposed.
motiv.scssnpmDescription
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | motiv.scss | ≥ 0.4.20&&< 0.4.21 | 0.4.21npm install motiv.scss@0.4.21 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for motiv.scss, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update motiv.scss to 0.4.21 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-2vqq-jgxx-fxjc is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-2vqq-jgxx-fxjc in your dependencies?
Find it across npm, including transitive dependencies.