CVE-2025-5897

Source
https://cve.org/CVERecord?id=CVE-2025-5897
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5897.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-5897
Aliases
Published
2025-06-09T21:00:17.023Z
Modified
2026-07-15T01:48:59.778312944Z
Severity
  • 5.3 (Medium) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "cwe_ids": [
        "CWE-1333",
        "CWE-400"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5897.json",
    "cna_assigner": "VulDB"
}
References

Affected packages

Git / github.com/vuejs/vue-cli

Affected ranges

Type
GIT
Repo
https://github.com/vuejs/vue-cli
Events
Database specific
{
    "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"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

Affected versions

5.*
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.*
v5.0.0
v5.0.1
v5.0.2
v5.0.3
v5.0.4
v5.0.5
v5.0.6
v5.0.7
v5.0.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5897.json"