CVE-2025-5897 Details
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.
A denial-of-service vulnerability has been identified in Vue.js Vue-CLI versions through 5.0.8. This issue arises in the HtmlPwaPlugin component, specifically within the Markdown Code Handler. The vulnerability is caused by inefficient regular expression processing, which can be exploited by embedding maliciously crafted code blocks in parsed Markdown. This exploitation leads to excessive CPU consumption, causing application freezes or service disruptions. The vulnerability can be triggered remotely.
Users are advised to update to Vue-CLI versions that have addressed this vulnerability. The specific version containing the fix should be checked in the official Vue-CLI repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 10, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/vuejs/vue-cli/pull/7478 | CISA-ADP | ExploitIssue TrackingPatch |
| https://github.com/vuejs/vue-cli/pull/7478 | [email protected] | ExploitIssue TrackingPatch |
| https://vuldb.com/?ctiid.311669 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.311669 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.585798 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| vuejs vue cli | <= 5.0.8 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 10, 2025 | Initial Analysis | [email protected] |
| Jun 10, 2025 | CVE Modified | CISA-ADP |
| Jun 9, 2025 | New CVE Received | [email protected] |