-
Notifications
You must be signed in to change notification settings - Fork 448
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
Announcement title not properly escaped on delete #9408
Comments
Draft PRs:
|
Deferring; this is a privileged action anyway, so the risk is low. |
@jardakotesovec, I've revisited my PR above after your comments -- thanks. I think you're looking for cases in |
@asmecher I found strong candidate for replacing v-html, intend to test that tomorrow. If thats successful and we would be able to do the sanitisation on vue.js level (using the allowed_html whitelist). Would that be good enough to cover this case in your opinion? It still would be possible to sneak in things like image via announcements to the dialog. Which is not ideal, but not security issue. I still would like to explore whether there are better patterns to minimise even use of any 'v-html-restricted', but this could be good catch all approach across all versions, with minimal risk of regressing something. |
Sounds good; I'll leave this open against 3.3.0-17 and let you come back to it. |
Testing locally seems promising.. now running tests on travis -#9421 |
@jardakotesovec, just to confirm, this is resolved in |
@asmecher Yes, from security point of view. It still can show some 'safe' html in that dialog. This is one of the cases when it would be useful to 'label' translation to allow html or not. |
Great, let's work through that in #9683 for |
Describe the bug
Announcement titles containing HTML special characters are not properly escaped in the delete confirmation modal.
The text was updated successfully, but these errors were encountered: