GHSA-7xfq-xh6v-4mrm

Suggest an improvement
Source
https://github.com/advisories/GHSA-7xfq-xh6v-4mrm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-7xfq-xh6v-4mrm/GHSA-7xfq-xh6v-4mrm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7xfq-xh6v-4mrm
Published
2020-09-01T20:27:53Z
Modified
2021-10-01T13:10:41Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Malicious Package in json-serializer
Details

Version 2.0.10 of json-serializer 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 2.0.10 of this module is found installed you will want to replace it with a version before or after 2.0.10. In addition to replacing the installed module, you will also want to evaluate your application to determine whether or not user data was compromised.

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

Affected packages

npm / json-serializer

Package

Name
json-serializer
View open source insights on deps.dev
Purl
pkg:npm/json-serializer

Affected ranges

Type
SEMVER
Events
Introduced
2.0.10
Fixed
2.0.11

Affected versions

2.*
2.0.10

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-7xfq-xh6v-4mrm/GHSA-7xfq-xh6v-4mrm.json"