-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce sanitizeHtml to sanitize markdown content (#6523)
* Introduce dompurify to sanitize markdown content * Add changelog item * Move from dompurifiy to smaller sanitize-html package * Remove marked from webapp-markdown-editor as it is already present in web-runtime * Use sanitizer in markdown-editor * Fix import of marked * Update changelog item
- Loading branch information
Jan
authored
Mar 4, 2022
1 parent
6def72e
commit 1a1cd9b
Showing
6 changed files
with
80 additions
and
17 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
changelog/unreleased/bugfix-space-description-xss-vulnerabilities
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Bugfix: Prevent cross-site scripting attack while displaying space description | ||
|
||
We've added a new package that strips out possible XSS attack code while displaying the space description | ||
|
||
https://github.com/owncloud/web/pull/6523 | ||
https://github.com/owncloud/web/issues/6526 |
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
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
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
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
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