VDB
Sign up
CRITICAL9.8

GHSA-7xfq-xh6v-4mrm

Malicious Package in json-serializer

Quick fix

GHSA-7xfq-xh6v-4mrm — json-serializer: upgrade to the fixed version with the command below.

npm install json-serializer@2.0.11

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/json-serializer
Introduced in: 2.0.10Fixed in: 2.0.11
Fixnpm install json-serializer@2.0.11

References