]> git.mxchange.org Git - friendica.git/commit
Check form security token in /settings/userexport module (#13929)
authorHypolite Petovan <hypolite@mrpetovan.com>
Thu, 22 Feb 2024 20:08:32 +0000 (15:08 -0500)
committerGitHub <noreply@github.com>
Thu, 22 Feb 2024 20:08:32 +0000 (21:08 +0100)
commite16b6ee6e16d06025f8ea17ca6e130f3484ff80b
treef8bcee9d08e04d045e91c8ad3729b3c1630b142c
parent5c5d7eb04fbacbe5987bd83022b158e095d13f13
Check form security token in /settings/userexport module (#13929)

* Escape HTML in the location field of a calendar event post

- This allowed script tags to be interpreted in the post display of an event.

* Add form security token check to /admin/phpinfo module

- This prevents basic XSS attacks against /admin/phpinfo

* Add form security token check to /babel module

- This prevents basic XSS attacks against /babel

* Prevent pass-through for attachments

- This addresses a straightforward Reflected XSS vulnerability if a malicious HTML/Javascript file is attached to a post through upload

* Prevent overwriting cid on event edit

- This allowed to share an event as any other user after zeroing the cid field of an existing event

* Check form security token in /settings/userexport module

- Prevents basic XSS attacks against /settings/userexport/*
src/Module/Settings/UserExport.php