Malicious Package in js-regular

js-regular Updated 02 Oct 2025

Summary

03/09/2020
CRITICAL
No i
Critical
9.8

GHSA-qcc9-q247-3m2m: Malicious Package in js-regular. Affects js-regular versions >= 0.0.0. 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 js-regular package is an npm package used for regular expression operations in JavaScript. It provides functions and utilities to work with regular expressions. However, the package has been found to contain malicious code that uploads system information to a remote server.

Vulnerability Detail

The vulnerability in js-regular arises from the presence of malicious code within the package. When the package is used, it secretly collects system information such as the operating system and hostname and sends it to a remote server. This unauthorized data collection can lead to privacy breaches 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 js-regular package has been found to contain malicious code that uploads system information to a remote server. To protect your system and prevent potential privacy breaches, it is recommended to remove the package from your environment. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for js-regular →

Share this vulnerability

FAQ

js-regular is an npm package used for regular expression operations in JavaScript. It provides functions and utilities to work with regular expressions.

The vulnerability in js-regular allows the package to collect system information and send it to a remote server without authorization. This can lead to privacy breaches and potential misuse of sensitive information.

To fix the vulnerability, you should remove the js-regular package from your environment. This can be done by uninstalling the package using the package manager or by removing the package reference from your project's dependencies.

No specific workarounds have been mentioned for this vulnerability. The recommended solution is to remove the js-regular package from your environment.

You can find more information about this vulnerability in the GitHub Advisory Database. The provided link in the vulnerability details section can be used to access the specific advisory.

Related vulnerabilities

Recent vulnerabilities recorded for js-regular.

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