{"id":"GHSA-pjxp-f379-6284","aliases":["GHSA-pjxp-f379-6284"],"related":[],"kind":"vulnerability","state":"published","title":"Malicious Package in @fangrong/xoc","summary":"Version 1.0.6 of `@fangrong/xoc` 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\nRemove the package from your environment. It's also recommended to evaluate your application to determine whether or not user data was compromised.\n\nUsers may consider downgrading to version 1.0.5","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Version 1.0.6 of `@fangrong/xoc` 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\nRemove the package from your environment. It's also recommended to evaluate your application to determine whether or not user data was compromised.\n\nUsers may consider downgrading to version 1.0.5","format":"markdown","source":"ghsa"}],"published":"2020-09-03T19:13:27.000Z","modified":"2023-07-27T20:15:13.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"version":"1.0.6","status":"affected"}],"ecosystem":"npm","package":"@fangrong/xoc","purl":"pkg:npm/%40fangrong/xoc","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/1104","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pjxp-f379-6284","url":"https://github.com/advisories/GHSA-pjxp-f379-6284","licence":"CC-BY-4.0","modified":"2023-07-27T20:15:13.000Z"}],"updatedAt":"2026-11-25T22:56:46.149Z"}