{"id":"GHSA-79vf-hf9f-j9q8","summary":"@vue/cli-plugin-pwa Regular Expression Denial of Service vulnerability","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":["CVE-2025-5897"],"modified":"2025-06-09T23:57:13.088581Z","published":"2025-06-09T21:30:52Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2025-06-09T23:10:40Z","nvd_published_at":"2025-06-09T21:15:47Z","cwe_ids":["CWE-1333","CWE-400"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5897"},{"type":"WEB","url":"https://github.com/vuejs/vue-cli/pull/7478"},{"type":"PACKAGE","url":"https://github.com/vuejs/vue-cli"},{"type":"WEB","url":"https://vuldb.com/?ctiid.311669"},{"type":"WEB","url":"https://vuldb.com/?id.311669"},{"type":"WEB","url":"https://vuldb.com/?submit.585798"}],"affected":[{"package":{"name":"@vue/cli-plugin-pwa","ecosystem":"npm","purl":"pkg:npm/%40vue/cli-plugin-pwa"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"5.0.8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-79vf-hf9f-j9q8/GHSA-79vf-hf9f-j9q8.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"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"}]}