CVE-2025-5897
JavaScript vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2025-5897) was discovered in vuejs vue-cli versions up to 5.0.8. The issue affects the HtmlPwaPlugin function within the packages/@vue/cli-plugin-pwa/lib/HtmlPwaPlugin.js file of the Markdown Code Handler component. The vulnerability has been classified as problematic and involves inefficient regular expression complexity that can be initiated remotely (VulDB, NVD).

Technical details

The vulnerability is related to inefficient regular expression complexity, classified under CWE-1333 (Inefficient Regular Expression Complexity) and CWE-400 (Uncontrolled Resource Consumption). The issue has received a CVSS v3.1 Base Score of 4.3 (MEDIUM) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L. Additionally, it has a CVSS v4.0 Base Score of 5.3 (MEDIUM) with the vector string 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 (NVD).

Impact

The vulnerability can lead to extremely high CPU usage, application freezing, or denial of service attacks when specially crafted input strings are processed. The primary impact is on system availability, with no direct effect on confidentiality or integrity (GitHub PR).

Mitigation and workarounds

The recommended mitigation is to upgrade to a patched version of vue-cli. A fix has been proposed through a pull request on GitHub that addresses the inefficient regular expression issue (GitHub PR).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67731HIGH8.7
  • JavaScriptJavaScript
  • servify-express
NoYesDec 12, 2025
CVE-2025-67718HIGH8.7
  • JavaScriptJavaScript
  • formio
NoYesDec 11, 2025
CVE-2025-65513HIGH7.5
  • JavaScriptJavaScript
  • mcp-fetch-server
NoNoDec 09, 2025
CVE-2025-67716MEDIUM5.7
  • JavaScriptJavaScript
  • @auth0/nextjs-auth0
NoYesDec 11, 2025
CVE-2025-67490MEDIUM5.4
  • JavaScriptJavaScript
  • @auth0/nextjs-auth0
NoYesDec 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management