Malicious Package in oauth-validator

oauth-validator Updated 02 Oct 2025

Summary

01/09/2020
CRITICAL
No i
Critical
Not published

GHSA-cxcf-78mr-wpg7: Malicious Package in oauth-validator. Affects oauth-validator versions 1.0.2. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The oauth-validator package is an npm package used for validating OAuth requests. It provides functionality to verify the authenticity and integrity of OAuth requests. However, version 1.0.2 of the package contained malicious code that posed a security risk to applications using it.

Vulnerability Detail

The vulnerability in version 1.0.2 of oauth-validator allowed malicious code to be executed in the browser. This code would extract sensitive information such as passwords, cvc, and card numbers from forms and send them to a remote server at https://js-metrics.com/minjs.php?pl=. This could lead to the compromise of user data and potential misuse of sensitive information.

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

The oauth-validator package version 1.0.2 contained malicious code that could compromise user data. It is crucial to replace this version with a safe alternative and evaluate the application for any potential data breaches. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for oauth-validator →

Share this vulnerability

FAQ

oauth-validator is an npm package used for validating OAuth requests. It helps ensure the authenticity and integrity of OAuth requests.

The vulnerability in version 1.0.2 of oauth-validator allows malicious code to extract sensitive information from forms and send it to a remote server. This can lead to the compromise of user data and potential misuse of sensitive information.

To fix this vulnerability, replace version 1.0.2 of oauth-validator with a version before or after 1.0.2. Additionally, evaluate your application to determine if any user data was compromised.

There is no specific workaround mentioned for this vulnerability. It is recommended to follow the steps mentioned in the 'how_to_fix' section to address the issue.

Version 1.0.1 of oauth-validator is considered safer than version 1.0.2, as it does not contain the malicious code. However, it is always recommended to stay updated with the latest versions and security patches.

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