# CVE-2025-5897: vuejs vue-cli Markdown Code HtmlPwaPlugin.js HtmlPwaPlugin redos

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-09T21:00:17.023Z
- Modified: 2026-06-17T09:48:58.727Z
- Also known as: GHSA-79vf-hf9f-j9q8
- Weaknesses: CWE-400, CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- vuejs vue-cli: 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
- @vue/cli-plugin-pwa (npm): up to 5.0.8
- vuejs vue_cli: up to 5.0.8

## Every score

- VulDB: CVSS:4.0 5.3 Medium `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`
- VulDB: CVSS:3.1 4.3 Medium `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`
- VulDB: CVSS:3.0 4.3 Medium `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`
- VulDB: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:TF/RC:UR`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/vuejs/vue-cli/pull/7478> (exploit, issue-tracking, patch, web)
- <https://vuldb.com/?id.311669> (technical-description, third-party-advisory, vdb-entry, web)
- <https://vuldb.com/?ctiid.311669> (permissions-required, signature, vdb-entry, web)
- <https://vuldb.com/?submit.585798> (third-party-advisory, vdb-entry, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-5897> (advisory)
- <https://github.com/vuejs/vue-cli> (package)

## Sources

- CVE List: [CVE-2025-5897](https://www.cve.org/CVERecord?id=CVE-2025-5897), CVE Terms of Use, modified 2025-06-10
- GitHub Advisory Database: [GHSA-79vf-hf9f-j9q8](https://github.com/advisories/GHSA-79vf-hf9f-j9q8), CC-BY-4.0, modified 2025-06-09
- NVD: [CVE-2025-5897](https://nvd.nist.gov/vuln/detail/CVE-2025-5897), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-5897 · Whole record: https://cve.day/CVE-2025-5897.json · Rebuilt by cve.day 2026-11-25T22:58:58.978Z
