GHSA-54cr-gv8w-8324
JSON

critical

Malicious Package in xoc

Severity
critical rating by GitHub
Published
Last changed

Description

Version 1.0.7 of 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=

Recommendation

If version 1.0.7 of this module is found installed you will want to replace it with a version before or after 1.0.7. In addition to replacing the installed module, you will also want to evaluate your application to determine whether or not user data was compromised.

Users may consider downgrading to version 1.0.5

Affected

Product or packageVersionsReported by
xoc (npm)1.0.7GitHub Advisory Database

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-54cr-gv8w-8324 changed 2023-07-27CC-BY-4.0