Malicious Code Detected in express-http-validator: A Critical Security Concern

express-http-validator Updated 19 Mar 2026

Summary

18/03/2026
CRITICAL
No i
Critical
Not published

MAL-2026-1731: Malicious code in express-http-validator (npm). Affects express-http-validator versions 1.0.0 – 1.0.3. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

express-http-validator is an npm package designed to facilitate the validation of HTTP requests in Express.js applications. It provides a set of middleware functions that help developers ensure that incoming requests meet specified criteria, enhancing the robustness and security of web applications. However, recent findings have revealed that certain versions of this package contain malicious code, posing significant risks to users and their applications.

Vulnerability Detail

The vulnerability in express-http-validator stems from the introduction of malicious code in versions 1.0.0 to 1.0.3. This code can potentially compromise the security of applications using the package, leading to unauthorized access or data breaches. The malicious code was identified by ReversingLabs, which has documented the issue and its implications. Users of the affected versions are at risk of exploitation, making it crucial to address this vulnerability promptly.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall express-http-validator

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

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

Workaround

If immediate upgrading is not feasible, consider removing express-http-validator from your project until a secure version is available. Alternatively, you can implement custom validation middleware to handle HTTP request validation without relying on this package.

Conclusion

The discovery of malicious code in express-http-validator versions 1.0.0 to 1.0.3 highlights the importance of regularly updating dependencies and monitoring for vulnerabilities. Users are strongly advised to upgrade to a secure version and consider alternative validation methods if necessary. Utilizing tools like Vulert can aid in maintaining the security of your applications.

See every vulnerability recorded for express-http-validator →

Share this vulnerability

FAQ

Versions 1.0.0 to 1.0.3 of express-http-validator are known to contain malicious code.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without requiring any signup.

Consider removing express-http-validator from your project or implementing custom validation middleware as a temporary measure.

The vulnerability was discovered by ReversingLabs, a cybersecurity firm specializing in threat intelligence.

Using the affected versions may lead to unauthorized access, data breaches, or other security incidents in your application.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall express-http-validator

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

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