{"id":"CVE-2025-5897","aliases":["CVE-2025-5897","GHSA-79vf-hf9f-j9q8"],"related":[],"kind":"vulnerability","state":"published","title":"vuejs vue-cli Markdown Code HtmlPwaPlugin.js HtmlPwaPlugin redos","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"de","text":"Eine Schwachstelle wurde in vuejs vue-cli bis 5.0.8 ausgemacht. Sie wurde als problematisch eingestuft. Hierbei geht es um die Funktion HtmlPwaPlugin der Datei packages/@vue/cli-plugin-pwa/lib/HtmlPwaPlugin.js der Komponente Markdown Code Handler. Mittels Manipulieren mit unbekannten Daten kann eine inefficient regular expression complexity-Schwachstelle ausgenutzt werden. Umgesetzt werden kann der Angriff über das Netzwerk.","source":"cvelist"},{"lang":"es","text":"Se encontró una vulnerabilidad en vuejs vue-cli hasta la versión 5.0.8. Se ha clasificado como problemática. Este problema afecta a la función HtmlPwaPlugin del archivo packages/@vue/cli-plugin-pwa/lib/HtmlPwaPlugin.js del componente Markdown Code Handler. La manipulación genera una complejidad ineficiente en las expresiones regulares. El ataque puede iniciarse en remoto.","source":"nvd"}],"published":"2025-06-09T21:00:17.023Z","modified":"2026-06-17T09:48:58.727Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","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","score":4.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:T/RC:R","score":4.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:TF/RC:UR","score":4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400","CWE-1333"],"affected":[{"ranges":[{"version":"5.0.0","status":"affected"},{"version":"5.0.1","status":"affected"},{"version":"5.0.2","status":"affected"},{"version":"5.0.3","status":"affected"},{"version":"5.0.4","status":"affected"},{"version":"5.0.5","status":"affected"},{"version":"5.0.6","status":"affected"},{"version":"5.0.7","status":"affected"},{"version":"5.0.8","status":"affected"}],"vendor":"vuejs","product":"vue-cli","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"5.0.8"}],"ecosystem":"npm","package":"@vue/cli-plugin-pwa","purl":"pkg:npm/%40vue/cli-plugin-pwa","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"5.0.8"}],"vendor":"vuejs","product":"vue_cli","cpe":"cpe:2.3:a:vuejs:vue_cli:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://vuldb.com/?id.311669","tags":["technical-description","third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://vuldb.com/?ctiid.311669","tags":["permissions-required","signature","vdb-entry","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://vuldb.com/?submit.585798","tags":["third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/vuejs/vue-cli/pull/7478","tags":["exploit","issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5897","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/vuejs/vue-cli","tags":["package"],"sources":["ghsa"]}],"credits":["mmmsssttt (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-06-10T14:22:17.991Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-5897","url":"https://www.cve.org/CVERecord?id=CVE-2025-5897","licence":"CVE Terms of Use","modified":"2025-06-10T15:29:58.751Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-79vf-hf9f-j9q8","url":"https://github.com/advisories/GHSA-79vf-hf9f-j9q8","licence":"CC-BY-4.0","modified":"2025-06-09T23:57:13.088Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-5897","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5897","licence":"Public domain","modified":"2026-06-17T09:48:58.727Z"}],"updatedAt":"2026-11-25T22:58:58.978Z","epss":{"score":0.00657,"percentile":0.52749,"date":"2026-12-02T12:00:21.000Z"}}