
Cloud Vulnerability DB
A community-led vulnerabilities database
Inconsistent <plaintext> tag parsing vulnerability (CVE-2024-51434) affects Froala WYSIWYG editor versions 4.3.0 and earlier. The vulnerability was discovered during a penetration test and was disclosed on November 3, 2024. This cross-site scripting (XSS) vulnerability impacts the HTML parsing functionality of the editor (Georgy Blog).
The vulnerability stems from improper parsing of the <plaintext> tag in the editor's Code View feature. The parser automatically wraps text in <p> tags if the text is not already contained within them. However, the <plaintext> tag, which automatically closes <p> tags according to HTML specifications, is not parsed safely by the editor. This allows malicious tags with event handlers to be inserted after the <plaintext> tag, bypassing the editor's built-in sanitization mechanisms. The vulnerability has been assigned a CVSS 3.1 score of 6.1 (Medium) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (Georgy Blog).
When successfully exploited, this vulnerability allows attackers to execute arbitrary JavaScript code in the context of the user's browser session. This can lead to potential data theft, session hijacking, or other malicious actions typically associated with XSS attacks (Georgy Blog).
To mitigate this vulnerability, it is recommended to ensure DOMPurify is accessible to the Froala editor, as the vulnerability does not work when DOMPurify is properly configured. Additionally, users should update to a version newer than 4.3.0 when available (Georgy Blog).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."