Typora through 1.3.8 allows XSS if a document containing an SVG element with an attacker-controlled onload attribute is exported and then used at a victim's origin.
https://typora.io/releases/all
https://gist.github.com/wangking1/61bdd1967367301a950ffbb3d10386f3