Lucene search

K
huntrJoaovitormaiaFDED4835-BD49-4533-8311-1D71E0ED7C00
HistoryMay 15, 2022 - 4:27 p.m.

Stored XSS on drawio

2022-05-1516:27:57
joaovitormaia
www.huntr.dev
19
draw io
stored xss
vulnerability
link manipulation
bad sanitization
javascript execution

EPSS

0.001

Percentile

21.4%

Sumary

Draw io has a feature to put links on a text, due to a bad sanitization it allows to put javascript:// scheme on a anchor tag which allows to execute javascript code

Steps to reproduce

  1. Create a text box and set word size to 50
  2. Click with the rigth button and “Edit link”
  3. Put asdf://test.com
  4. Click with the rigth button again and “Edit data”
  5. On the “link” attribute put javascript:javascript://%0aalert(document.domain)
  6. Export the page as URL
  7. Click on the link

EPSS

0.001

Percentile

21.4%

Related for FDED4835-BD49-4533-8311-1D71E0ED7C00