Skip to content
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

fix(core): Do not use v-html for translation output #49346

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Nov 18, 2024

Summary

The content that can be rendered does not include HTML (see recommended object).
But v-html was used, this is potentially dangerous, even though we sanitize the translation values, so no urgent harm but better safe than sorry.

Checklist

The content that can be renderered does *not* include HTML (see
`recommended` object).
But `v-html` was used, this is potentially dangerous, even though we
sanitize the translation values, so no urgent harm but better safe than
sorry.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux added this to the Nextcloud 31 milestone Nov 18, 2024
@susnux susnux requested review from nickvergessen, a team, artonge, skjnldsv and sorbaugh and removed request for a team November 18, 2024 13:33
@susnux
Copy link
Contributor Author

susnux commented Nov 18, 2024

/backport to stable30

@susnux
Copy link
Contributor Author

susnux commented Nov 18, 2024

/backport to stable29

@susnux
Copy link
Contributor Author

susnux commented Nov 18, 2024

/backport to stable28

@susnux susnux marked this pull request as ready for review November 18, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant