{"id":"GHSA-8qm2-24qc-c4qg","aliases":["GHSA-8qm2-24qc-c4qg"],"related":[],"kind":"vulnerability","state":"published","title":"Malicious Package in freshdom","summary":"Version 0.0.6 of `freshdom` 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 0.0.6 of this module is found installed you will want to replace it with a version before or after 0.0.6. 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 0.0.6 of `freshdom` 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 0.0.6 of this module is found installed you will want to replace it with a version before or after 0.0.6. 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-01T19:57:56.000Z","modified":"2021-09-24T17:32:50.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":[{"version":"0.0.6","status":"affected"}],"ecosystem":"npm","package":"freshdom","purl":"pkg:npm/freshdom","source":"ghsa"}],"references":[{"url":"https://github.com/jamiller619/freshdom","tags":["package"],"sources":["ghsa"]},{"url":"https://snyk.io/vuln/SNYK-JS-FRESHDOM-450987","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/627","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8qm2-24qc-c4qg","url":"https://github.com/advisories/GHSA-8qm2-24qc-c4qg","licence":"CC-BY-4.0","modified":"2021-09-24T17:32:50.000Z"}],"updatedAt":"2026-11-25T22:56:44.782Z"}