-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Desktop, Mobile: Filter out form elements from note body to prevent p…
…otential XSS (thanks to Dmytro Vdovychinskiy for the PoC)
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CVE-2021-37916
sanitizeHtml
method in Joplin desktop allows HTML tags with JavaScript attributes that give the possibility to execute arbitrary JavaScript code from the note body.The vulnerability was fixed in 2.0.9 by extending
disallowedTags
array