CVE-2023-45818: TinyMCE(<6.7.1) XSS
PoC #1
PoC #2
PoC #3
Root cause
XSS is triggered by an assignment to innerHTML after the unsafe string replacement is performed at:
When can it be exploited?
- When an app stores HTML set from user-input and displays it on the editor (especially on the editor shared with multiple users)
- When an app explicitly uses affected TinyMCE APIs for user-input
- When a user pastes the crafted HTML to the editor
See also