Skip to content
Heist/ feed
Back to feed
Medium

vuejs vue-cli Markdown Code HtmlPwaPlugin.js HtmlPwaPlugin redos

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-5897
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 01:04 UTC · Revision 1

Source evidence

vuejs vue-cli Markdown Code HtmlPwaPlugin.js HtmlPwaPlugin redos

core-osv · Original source

Published 9 Jun 2025, 21:00 UTC

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.

osv:CVE-2025-5897
Complete source record
{
  "id": "81aee7fd3c10c49edfce526fa6df990841284a1baec668c542bdea3109a86145",
  "url": "https://osv.dev/vulnerability/CVE-2025-5897",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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.",
    "evidence": "osv:CVE-2025-5897",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-5897",
      "aliases": [
        "CVE-2025-5897",
        "GHSA-79vf-hf9f-j9q8"
      ],
      "metrics": [
        {
          "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/vuejs/vue-cli",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c913cdcb67f4a8e7c1f8affd1a6ba9a93c0f3ebd"
                },
                {
                  "last_affected": "b154dbd7aca4b4538e6c483b1d4b817499d7b8eb"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "5.0.0"
                      },
                      {
                        "last_affected": "5.0.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "5.0.1"
                      },
                      {
                        "last_affected": "5.0.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "5.0.2"
                      },
                      {
                        "last_affected": "5.0.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "5.0.3"
                      },
                      {
                        "last_affected": "5.0.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "5.0.4"
                      },
                      {
                        "last_affected": "5.0.4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "5.0.5"
                      },
                      {
                        "last_affected": "5.0.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "5.0.6"
                      },
                      {
                        "last_affected": "5.0.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "5.0.7"
                      },
                      {
                        "last_affected": "5.0.7"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "5.0.8"
                      },
                      {
                        "last_affected": "5.0.8"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "cpe": "cpe:2.3:a:vuejs:vue_cli:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "5.0.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "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"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.673577332Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5897.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-5897",
        "https://vuldb.com/?id.311669",
        "https://vuldb.com/?submit.585798",
        "https://github.com/vuejs/vue-cli/pull/7478",
        "https://vuldb.com/?ctiid.311669"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1333",
          "CWE-400"
        ],
        "cna_assigner": "VulDB",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5897.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-5897",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 513695,
  "published_at": "2025-06-09T21:00:17.023+00:00"
}