Skip to main content
CVE-2025-5897VulnerabilityPublished

CVE-2025-5897: vuejs vue-cli · ReDoS

Affects vuejs vue-cliSource CVE Database V5

0

Not known to be exploited · CVSS 5.3 Medium.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 49% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
vuejs vue-cliAffected
  • =5.0.0
  • =5.0.1
  • =5.0.2
  • =5.0.3
  • =5.0.4
  • =5.0.5
  • =5.0.6
  • =5.0.7
  • =5.0.8
Fixed in–

AI-suggested

To mitigate CVE-2025-5897, European organizations should: 1) Immediately audit their development and build environments to identify usage of vue-cli versions 5.0.0 through 5.0.8, particularly where the PWA plugin and Markdown processing are enabled. 3) Implement input validation and sanitization for any Markdown content processed during builds to reduce the risk of malicious payloads triggering the regex complexity issue. 4) Monitor build server resource utilization and set thresholds to detect abnormal CPU spikes that may indicate exploitation attempts. 5) Restrict network access to build servers to trusted sources only, minimizing exposure to remote attacks. 6) Incorporate vulnerability scanning and dependency checks into CI/CD pipelines to detect vulnerable vue-cli versions proactively. 7) Educate development teams about the risks of processing untrusted content in build tools and encourage best practices for secure build configurations.

Description

A vulnerability was found in vuejs vue-cli up to 5.0.8. It has been rated as problematic. This issue affects the function HtmlPwaPlugin of the file packages/@vue/cli-plugin-pwa/lib/HtmlPwaPlugin.js of the component Markdown Code Handler. The manipulation leads to inefficient regular expression complexity. The attack may be initiated remotely.

References

Community reviews

Loading reviews…