CVE-2025-5897: A vulnerability was found in vuejs vue-cli up to 5.0.8
CVE-2025-5897 is a medium-severity flaw (CVSS 4.3) affecting vue cli. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-5897?
vue cli: upgrade to newer than 5.0.8. Exact commands for each OS are on this page.
Is CVE-2025-5897 being exploited?
CVE-2025-5897 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-5897 affect?
CVE-2025-5897 affects vue cli. Severity is medium (CVSS 4.3). 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. Th
How urgent is CVE-2025-5897?
Priority 32/100. Public exploit reference