{"id":"CVE-2025-5897","summary":"vuejs vue-cli Markdown Code HtmlPwaPlugin.js HtmlPwaPlugin redos","details":"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.","aliases":["GHSA-79vf-hf9f-j9q8"],"modified":"2026-08-12T03:51:44.066003829Z","published":"2025-06-09T21:00:17.023Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5897.json","cna_assigner":"VulDB","cwe_ids":["CWE-1333","CWE-400"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5897.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5897"},{"type":"ADVISORY","url":"https://vuldb.com/?id.311669"},{"type":"ADVISORY","url":"https://vuldb.com/?submit.585798"},{"type":"REPORT","url":"https://github.com/vuejs/vue-cli/pull/7478"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.311669"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/vuejs/vue-cli","events":[{"introduced":"c913cdcb67f4a8e7c1f8affd1a6ba9a93c0f3ebd"},{"last_affected":"b154dbd7aca4b4538e6c483b1d4b817499d7b8eb"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:vuejs:vue_cli:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"5.0.0"},{"last_affected":"5.0.0"},{"introduced":"5.0.1"},{"last_affected":"5.0.1"},{"introduced":"5.0.2"},{"last_affected":"5.0.2"},{"introduced":"5.0.3"},{"last_affected":"5.0.3"},{"introduced":"5.0.4"},{"last_affected":"5.0.4"},{"introduced":"5.0.5"},{"last_affected":"5.0.5"},{"introduced":"5.0.6"},{"last_affected":"5.0.6"},{"introduced":"5.0.7"},{"last_affected":"5.0.7"},{"introduced":"5.0.8"},{"last_affected":"5.0.8"},{"introduced":"0"}]}}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8","v5.0.8","v5.0.7","v5.0.6","v5.0.5","v5.0.4","v5.0.3","v5.0.2","v5.0.1","v5.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5897.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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/E:X"}]}