Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Jan 21, 2025

Summary

Ensure there is no " within the link to prevent XSS.
This is not a security issue as per our threat model as this can only be set by admin and admin can do everything.
But its hardens it (e.g. accidentally using an URL containing a double quote).

Checklist

@susnux susnux added this to the Nextcloud 31 milestone Jan 21, 2025
@susnux susnux requested review from Pytal, artonge and nfebe January 21, 2025 15:06
@susnux
Copy link
Contributor Author

susnux commented Jan 21, 2025

/backport to stable30

@susnux
Copy link
Contributor Author

susnux commented Jan 21, 2025

/backport to stable29

@Altahrim Altahrim mentioned this pull request Jan 21, 2025
@susnux susnux force-pushed the fix/harden-admin-settings branch from 2442f6b to 44b8d85 Compare January 21, 2025 15:48
@Altahrim Altahrim mentioned this pull request Jan 23, 2025
@AndyScherzinger
Copy link
Member

/backport to stable31

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux force-pushed the fix/harden-admin-settings branch from 44b8d85 to 8aa3a15 Compare January 27, 2025 13:22
@AndyScherzinger AndyScherzinger merged commit 6dc83b9 into master Jan 27, 2025
190 checks passed
@AndyScherzinger AndyScherzinger deleted the fix/harden-admin-settings branch January 27, 2025 17:55
@nextcloud-bot nextcloud-bot mentioned this pull request Aug 19, 2025
@skjnldsv skjnldsv removed this from the Nextcloud 32 milestone Sep 28, 2025
@skjnldsv skjnldsv modified the milestones: Nextcloud 33, Nextcloud 32 Sep 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants