{"id":"GHSA-7xfq-xh6v-4mrm","aliases":["GHSA-7xfq-xh6v-4mrm"],"related":[],"kind":"vulnerability","state":"published","title":"Malicious Package in json-serializer","summary":"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=`\n\n\n\n## Recommendation\n\nIf 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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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=`\n\n\n\n## Recommendation\n\nIf 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.","format":"markdown","source":"ghsa"}],"published":"2020-09-01T20:27:53.000Z","modified":"2021-10-01T13:10:41.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-506"],"affected":[{"ranges":[{"type":"semver","introduced":"2.0.10","status":"affected","fixed":"2.0.11"}],"ecosystem":"npm","package":"json-serializer","purl":"pkg:npm/json-serializer","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/630","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7xfq-xh6v-4mrm","url":"https://github.com/advisories/GHSA-7xfq-xh6v-4mrm","licence":"CC-BY-4.0","modified":"2021-10-01T13:10:41.000Z"}],"updatedAt":"2026-11-25T22:56:44.619Z"}