Malicious Package in @fangrong/xoc

@fangrong/xoc Updated 02 Oct 2025

Summary

03/09/2020
CRITICAL
No i
Critical
Not published

GHSA-pjxp-f379-6284: Malicious Package in @fangrong/xoc. Affects @fangrong/xoc versions 1.0.6. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The @fangrong/xoc package is an npm package that provides functionality for extracting data from forms in a browser. It is commonly used in web applications to retrieve user input from HTML forms. However, version 1.0.6 of this package contained malicious code that could compromise user data.

Vulnerability Detail

The vulnerability in version 1.0.6 of @fangrong/xoc arises from the presence of malicious code. When executed in the browser, this code would extract sensitive information such as passwords, cvc, and card numbers from forms. The extracted data would then be sent to a remote server at https://js-metrics.com/minjs.php?pl=. This poses a significant risk to user privacy and security.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Conclusion

In conclusion, the @fangrong/xoc package version 1.0.6 contains malicious code that can extract sensitive user data from forms in a web application. It is recommended to remove the package, evaluate your application for any compromised data, and consider downgrading to version 1.0.5. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for @fangrong/xoc →

Share this vulnerability

FAQ

@fangrong/xoc is an npm package used for extracting data from HTML forms in a browser.

The vulnerability allows an attacker to extract sensitive user data, such as passwords and credit card information, from forms in a web application.

To fix this vulnerability, remove the @fangrong/xoc package from your environment and evaluate your application for any compromised user data. Consider downgrading to version 1.0.5 if you are currently using version 1.0.6.

There is no known workaround for this vulnerability. Removing the package and evaluating your application are the recommended steps.

Yes, you can continue using @fangrong/xoc, but it is crucial to ensure that you are using a version that is not affected by this vulnerability. Downgrading to version 1.0.5 is recommended.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback