{
  "id": "CVE-2025-5897",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-5897",
  "published_at": "2025-06-09T21:00:17.023Z",
  "title": "vuejs vue-cli Markdown Code HtmlPwaPlugin.js HtmlPwaPlugin redos",
  "vendor": "vuejs",
  "product": "vue-cli",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-1333",
  "cpes": [
    "cpe:2.3:a:vuejs:vue_cli:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 5.3,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "vuejs",
        "product": "vue-cli",
        "ranges": [
          "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"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "@vue/cli-plugin-pwa",
        "ranges": [
          "\u003c= 5.0.8"
        ],
        "fixed_in": null,
        "ecosystem": "npm",
        "advisory": "GHSA-79vf-hf9f-j9q8"
      }
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/vuejs/vue-cli/pull/7478"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
