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
Insert into the textarea the following payload <img src="#" onerror=alert(2)>
Press again on the </> icon to see the preview
An alert that prints 2 appears.
To solve the issue it may be useful to pre-parse the html tags which allows javascript execution and then render them sanitized.
Poc:
<img src="#" onerror=alert(2)>To solve the issue it may be useful to pre-parse the html tags which allows javascript execution and then render them sanitized.