CVE-2020-22864
Description
A stored XSS vulnerability in Froala WYSIWYG Editor 3.1.0's Insert Video function allows attackers to execute arbitrary scripts via crafted video URLs.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A stored XSS vulnerability in Froala WYSIWYG Editor 3.1.0's Insert Video function allows attackers to execute arbitrary scripts via crafted video URLs.
Vulnerability
The Froala WYSIWYG Editor version 3.1.0 contains a cross-site scripting (XSS) vulnerability in the Insert Video function. The editor fails to sanitize user-supplied input for the video URL, allowing an attacker to inject arbitrary HTML or JavaScript code that is executed when the video is rendered. This issue affects the video.min.js plugin as documented in the related pull requests [1][4].
Exploitation
An authenticated user with access to the editor can craft a malicious video URL containing script payloads. When the victim inserts the video via the editor's 'Insert Video' dialog, the unsanitized URL is embedded into the page and executed in the context of the victim's browser session. No additional privileges or complex conditions are required beyond the ability to use the editor's video insertion feature [1][4].
Impact
Successful exploitation allows the attacker to execute arbitrary JavaScript or HTML in the context of the victim's browser, leading to potential session hijacking, data theft, defacement, or other malicious actions. The impact is limited by the scope of the editor's usage, but can affect any user viewing content that includes the malicious video element [3].
Mitigation
A fix was proposed in pull requests [1] and [4] and is included in versions after 3.1.0. The official repository has been updated; users should upgrade to the latest version of Froala WYSIWYG Editor. As of the publication date of this CVE, no standalone patch or workaround has been published other than upgrading to a patched release [1][3].
AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
froala-editornpm | < 4.0.11 | 4.0.11 |
Affected products
2- Froala/WYSIWYG Editordescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
7- github.com/advisories/GHSA-97x5-cc53-cv4vghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-22864ghsaADVISORY
- github.com/418sec/wysiwyg-editor/pull/1ghsaWEB
- github.com/froala/wysiwyg-editor/issues/3880ghsax_refsource_MISCWEB
- github.com/froala/wysiwyg-editor/pull/3911ghsaWEB
- github.com/froala/wysiwyg-editor/releases/tag/v4.0.11ghsaWEB
- www.youtube.com/watchghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.