GHSA-54cr-gv8w-8324

Suggest an improvement
Source
https://github.com/advisories/GHSA-54cr-gv8w-8324
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-54cr-gv8w-8324/GHSA-54cr-gv8w-8324.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-54cr-gv8w-8324
Published
2020-09-01T20:36:22Z
Modified
2023-07-27T20:32:35Z
Summary
Malicious Package in xoc
Details

Version 1.0.7 of xoc contained malicious code. The code when executed in the browser would enumerate password, cvc, cardnumber fields from forms and send the extracted values to https://js-metrics.com/minjs.php?pl=

Recommendation

If version 1.0.7 of this module is found installed you will want to replace it with a version before or after 1.0.7. In addition to replacing the installed module, you will also want to evaluate your application to determine whether or not user data was compromised.

Users may consider downgrading to version 1.0.5

Database specific
{
    "github_reviewed_at": "2020-08-31T18:30:51Z",
    "github_reviewed": true,
    "severity": "CRITICAL",
    "cwe_ids": [],
    "nvd_published_at": null
}
References

Affected packages

npm / xoc

Package

Affected ranges

Affected versions

1.*

1.0.7