CVE-2025-5897

Public Exploit
vuejs vue-cli Markdown Code HtmlPwaPlugin.js HtmlPwaPlugin redos

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.

Categories

5.3
CVSS
Severity: Medium
CVSS 4.0 •
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.04%
Third-Party Advisory vuldb.com Third-Party Advisory vuldb.com
Affected: vuejs vue-cli
Published at:
Updated at:

References

Link Tags
https://vuldb.com/?id.311669 third party advisory vdb entry technical description
https://vuldb.com/?ctiid.311669 vdb entry signature permissions required
https://vuldb.com/?submit.585798 third party advisory vdb entry
https://github.com/vuejs/vue-cli/pull/7478 exploit patch issue tracking

Frequently Asked Questions

What is the severity of CVE-2025-5897?
CVE-2025-5897 has been scored as a medium severity vulnerability.
How to fix CVE-2025-5897?
To fix CVE-2025-5897, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2025-5897 being actively exploited in the wild?
It is possible that CVE-2025-5897 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-5897?
CVE-2025-5897 affects vuejs vue-cli.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.