-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce sanitizeHtml to sanitize markdown content #6523
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🧽
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and seems to be working. I couldn't set off any XSS payload I tried. 💪
Results for oCISTrashbinUploadMoveJourney https://drone.owncloud.com/owncloud/web/23265/69/1
|
Kudos, SonarCloud Quality Gate passed! |
Description
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
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: