Vulnerability library
Security checkOctober 24, 2024

ReDoS vulnerability in vue package that is exploitable through inefficient regex evaluation in the parseHTML function

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

Low severitynpmvue

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

The ReDoS can be exploited through the parseHTML function in the html-parser.ts file. This flaw allows attackers to slow down the application by providing specially crafted input that causes inefficient processing of regular expressions, leading to excessive resource consumption.

To demonstrate this vulnerability, here’s an example.

Recommendation

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

  • Affected version(s): >= 2.0.0-alpha.1, < 3.0.0-alpha.0
  • Patched version(s): 3.0.0-alpha.0

References

Could your website be exposed too?

SmartScanner can check your website for ReDoS vulnerability in vue package that is exploitable through inefficient regex evaluation in the parseHTML function and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 24, 2024