tinyMCE – XSS Vulnerability On Versions Under 5.4.0, In iframe Elements

< 1 min read

Impact area

Security

Severity

High

Affected element

ServiceNow

UI Script

Salesforce

Static Resource

Rule number #

SN-JSL-TINYMCE-LESSTHAN-V540 (for ServiceNow)

SF-JSL-TINYMCE-LESSTHAN-V540 (for Salesforce)

Impact #

tinyMCE in versions before 5.4.0 allows XSS attacks by content in an iframe element parsing as DOM elements instead of text content.

Remediation #

Update tinyMCE to the latest version.

Time to fix #

30 min

References #

This rule is linked to Common Weakness Enumeration CWE-79 Improper Neutralization of Input During Web Page Generation (‘Cross-site Scripting’).

Updated on March 21, 2025
Was it helpful ?