CVE-2024-9506 Regular Expression Denial of Service (ReDoS)
Attackers can cause a denial of service in applications using Vue by exploiting a vulnerable regular expression in the parseHTML function.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-9506?
CVE-2024-9506 is a low-severity denial of service vulnerability in vue, published on 15 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Improper regular expression in Vue's parseHTML function leads to a potential regular expression denial of service vulnerability.
Weakness: CWE-1333
Which versions are affected by CVE-2024-9506?
2 open source packages ship an affected version, including vue.
| Package | Affected | Fixed in |
|---|---|---|
vue npm | From 2.0.0-alpha.1 | 3.0.0-alpha.0 |
vue npm | From 2.0.0-alpha.1 | 3.0.0-alpha.0 |
How do I fix CVE-2024-9506?
Upgrade vue to 3.0.0-alpha.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-9506 being exploited?
There is no known exploitation of CVE-2024-9506 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as CLSA-2026-1791908879, CLSA-2026-1793148266, CLSA-2026-1793148267, GHSA-5j4c-8p2g-v4jx.