You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set component's id attribute's value to 123"></div><img src=x onerror=alert(1)>123
What is the expected behavior?
... The XSS code in the attribute's value should be sanitized and removed.
What is the current behavior?
... The XSS code executes and triggers an alert(as seen in this video). This happens only with GrapesJS MJML node module. With core GrapesJS editor the issue doesn't occur as seen here on core editor demo site.