GHSA-5w4r-wwc3-6qcp

Suggest an improvement
Source
https://github.com/advisories/GHSA-5w4r-wwc3-6qcp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-5w4r-wwc3-6qcp/GHSA-5w4r-wwc3-6qcp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5w4r-wwc3-6qcp
Published
2020-09-11T21:23:29Z
Modified
2023-07-27T20:33:34Z
Summary
Malicious Package in precode.js
Details

Version 1.1.1 of precode.js 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.

Users may consider downgrading to version 1.1.0

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

Affected packages

npm / precode.js

Package

Affected ranges

Affected versions

1.*
1.1.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-5w4r-wwc3-6qcp/GHSA-5w4r-wwc3-6qcp.json"