tinymce
Affected
- introduced
6.0.0, fixed6.3.1(semver)
Fixed versions
6.3.1
Fix
- Fixed version
6.3.1npm install [email protected]
Advisory
Also known as: CVE-2022-23494
Cross-site scripting vulnerability in TinyMCE alerts
Impact
A cross-site scripting (XSS) vulnerability was discovered in the alert and confirm dialogs when these dialogs were provided with malicious HTML content. This can occur in plugins that use the alert or confirm dialogs, such as in the image plugin, which presents these dialogs when certain errors occur. The vulnerability allowed arbitrary JavaScript execution when an alert presented in the TinyMCE UI for the current user.
Patches
This vulnerability has been patched in TinyMCE 5.10.7 and TinyMCE 6.3.1 by ensuring HTML sanitization was still performed after unwrapping invalid elements.
Fix
To avoid this vulnerability:
Workaround
To reduce the impact of this vulnerability:
images_upload_handler returns a valid value as per the images_upload_handler documentation.References
For more information
If you have any questions or comments about this advisory:
Medium Basis: The source's own band: MODERATE
6.0.0, fixed 6.3.1 (semver)6.3.1
6.3.1npm install [email protected]6.0.0, fixed 6.3.1 (ecosystem)6.3.1
The export has no generic command for this ecosystem.
6.0.0, fixed 6.3.1 (ecosystem)6.3.1
The export has no generic command for this ecosystem.
0, fixed 5.10.7 (semver)5.10.7
5.10.7npm install [email protected]0, fixed 5.10.7 (ecosystem)5.10.7
The export has no generic command for this ecosystem.
0, fixed 5.10.7 (ecosystem)5.10.7
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0