CVE-2023-48219: TinyMCE(<6.7.3) XSS

PoC

<noscript><[U+FEFF]/noscript><[U+FEFF]iframe onload=alert(document.domain)></noscript>

Root cause

After the CVE-2023-45818 fix, it removes comment nodes containing U+FEFF by this code. But in other nodes, it still did a simple string replacement, so above bypass worked due to the noscript's serialization behavior explained in HTML spec.

When can it be exploited?

See also