Vulnerability library
Security checkNovember 04, 2025

Vercel ms Inefficient Regular Expression Complexity vulnerability

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmms

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

A vulnerability, which was classified as problematic, has been found in vercel ms up to 1.x. This issue affects the function parse of the file index.js. The manipulation of the argument str leads to inefficient regular expression complexity. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

Recommendation

Update the ms package to the latest compatible version. Followings are version details:

  • Affected version(s): < 2.0.0
  • Patched version(s): 2.0.0

References

Could your website be exposed too?

SmartScanner can check your website for Vercel ms Inefficient Regular Expression Complexity vulnerability and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated November 04, 2025