CVE-2024-29504 Summernote vulnerable to cross-site scripting
A remote attacker can execute arbitrary code via a crafted payload in the codeview parameter of the Summernote rich text editor library.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-29504?
CVE-2024-29504 is a high-severity cross-site scripting vulnerability in n/a, published on 10 Apr 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Cross Site Scripting vulnerability in Summernote v.0.8.18 and before allows a remote attacker to execute arbtirary code via a crafted payload to the codeview parameter.
Weakness: CWE-79
Which versions are affected by CVE-2024-29504?
2 open source packages ship an affected version, including summernote. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
summernote npm | All versions to 0.8.18 | None |
summernote npm | All versions to 0.8.18 | None |
Products include Summernote Summernote.
How do I fix CVE-2024-29504?
No fix has been published for CVE-2024-29504 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-29504 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-29504 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-4wh3-3wf2-39m9.