CVE-2024-51434 Froala WYSIWYG editor allows cross-site scripting (XSS)
Attackers can execute arbitrary scripts via inconsistent plaintext tag parsing in the Froala WYSIWYG editor library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-51434?
CVE-2024-51434 is a medium-severity cross-site scripting vulnerability in n/a, published on 7 Nov 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Inconsistent <plaintext> tag parsing allows for XSS in Froala WYSIWYG editor 4.3.0 and earlier.
Weakness: CWE-79
Which versions are affected by CVE-2024-51434?
4 open source packages ship an affected version, including froala/wysiwyg-editor and froala-editor.
| Package | Affected | Fixed in |
|---|---|---|
froala/wysiwyg-editor Packagist | All versions to 4.3.0 | None |
froala/wysiwyg-editor Packagist | All versions to 4.3.0 | None |
froala-editor npm | All versions to 4.3.0 | None |
froala-editor npm | All versions to 4.3.0 | None |
How do I fix CVE-2024-51434?
No fix has been published for CVE-2024-51434 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-51434 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-51434 exists.
Sources
Also known as GHSA-549p-5c7f-c5p4.