Lookup for vulnerable packages by Package URL.

Purlpkg:npm/vue@2.0.8
Typenpm
Namespace
Namevue
Version2.0.8
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version3.0.0-alpha.0
Latest_non_vulnerable_version3.0.0-alpha.0
Affected_by_vulnerabilities
0
url VCID-nn39-hy3t-8fdp
vulnerability_id VCID-nn39-hy3t-8fdp
summary
ReDoS vulnerability in vue package that is exploitable through inefficient regex evaluation in the parseHTML function
The ReDoS can be exploited through the `parseHTML` function in the `html-parser.ts` file. This flaw allows attackers to slow down the application by providing specially crafted input that causes inefficient processing of regular expressions, leading to excessive resource consumption.

To demonstrate this vulnerability, here's an example. In a Vue client-side application, create a new Vue instance with a template string that includes a `<script>` tag but closes it incorrectly with something like `</textarea>`.

```javascript
new Vue({
el: '#app',
template: '
<div>
Hello, world!
<script>${'<'.repeat(1000000)}</textarea>
</div>'
});
```
Next, set up a basic HTML page (e.g., index.html) to load this JavaScript and mount the Vue instance:

```html
<!DOCTYPE html>
<html>
<head>
<title>My first Vue app</title>
</head>
<body>
<div id=\"app\">Loading...</div>
</body>
</html>
```

When you visit the app in your browser at http://localhost:3000, you'll notice that the time taken to parse and mount the Vue application increases significantly due to the ReDoS vulnerability, demonstrating how the flaw can affect performance.
references
0
reference_url https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-9506.json
reference_id
reference_type
scores
0
value 3.1
scoring_system cvssv3
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
url https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-9506.json
1
reference_url https://api.first.org/data/v1/epss?cve=CVE-2024-9506
reference_id
reference_type
scores
0
value 0.00027
scoring_system epss
scoring_elements 0.08164
published_at 2026-06-07T12:55:00Z
1
value 0.00027
scoring_system epss
scoring_elements 0.08135
published_at 2026-06-09T12:55:00Z
2
value 0.00027
scoring_system epss
scoring_elements 0.08114
published_at 2026-06-08T12:55:00Z
3
value 0.00027
scoring_system epss
scoring_elements 0.08165
published_at 2026-06-05T12:55:00Z
4
value 0.00027
scoring_system epss
scoring_elements 0.08181
published_at 2026-06-06T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2024-9506
2
reference_url https://github.com/vuejs/core
reference_id
reference_type
scores
0
value 3.7
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
1
value 2.9
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
2
value LOW
scoring_system generic_textual
scoring_elements
url https://github.com/vuejs/core
3
reference_url https://bugzilla.redhat.com/show_bug.cgi?id=2318799
reference_id 2318799
reference_type
scores
url https://bugzilla.redhat.com/show_bug.cgi?id=2318799
4
reference_url https://nvd.nist.gov/vuln/detail/CVE-2024-9506
reference_id CVE-2024-9506
reference_type
scores
0
value 3.7
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
1
value 2.9
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
2
value LOW
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2024-9506
5
reference_url https://www.herodevs.com/vulnerability-directory/cve-2024-9506
reference_id CVE-2024-9506
reference_type
scores
0
value 3.7
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
1
value 2.9
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
2
value LOW
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-10-15T16:10:46Z/
url https://www.herodevs.com/vulnerability-directory/cve-2024-9506
6
reference_url https://github.com/advisories/GHSA-5j4c-8p2g-v4jx
reference_id GHSA-5j4c-8p2g-v4jx
reference_type
scores
0
value LOW
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-5j4c-8p2g-v4jx
fixed_packages
0
url pkg:npm/vue@3.0.0-alpha.0
purl pkg:npm/vue@3.0.0-alpha.0
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/vue@3.0.0-alpha.0
aliases CVE-2024-9506, GHSA-5j4c-8p2g-v4jx
risk_score 1.6
exploitability 0.5
weighted_severity 3.3
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-nn39-hy3t-8fdp
Fixing_vulnerabilities
Risk_score1.6
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:npm/vue@2.0.8