Vulnerability · Published Jun 9, 2025 · Assigned by VulDB
CVE-2025-5897vuejs vue-cli Markdown Code HtmlPwaPlugin.js HtmlPwaPlugin redos
Medium 4.3
In plain English
A medium-severity regular-expression denial of service in vue-cli from vuejs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @vue/cli-plugin-pwa | no fix listed | GHSA-79vf-hf9f-j9q8 |
Affected products (as reported)
Weakness: CWE-1333, CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:T/RC:R
References
- VDB-311669 | vuejs vue-cli Markdown Code HtmlPwaPlugin.js HtmlPwaPlugin redos vdb-entry, technical-description
- VDB-311669 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #585798 | vue 3.5.15 Inefficient Regular Expression Complexity third-party-advisory
- https://github.com/vuejs/vue-cli/pull/7478 issue-tracking