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
fix: Don't use innerHTML to populate drag item (DH-18645) (#2378)
- We were using `innerHTML` with the text of the name of the file to
create the drag placeholder content
- Instead, inject the name using `innerText` so it is escaped properly
- Tested by naming a file `<img src=q onerror=prompt(1)>.py`, and then
attempting to move it. It no longer triggered the popup.
0 commit comments