Skip to content
Snippets Groups Projects
Commit 6fa4c8e3 authored by Markus Bucher's avatar Markus Bucher Committed by Benjamin Mack
Browse files

[SECURITY] XSS in Filelist

Properly escape user input when showing error messages
during file renaming.

Resolves: #59211
Releases: master, 6.2
Security-Bulletin: TYPO3-CORE-SA-2015-004
Change-Id: Iffafad7282445d51fa244f3b31e6886b0b0f65b6
Reviewed-on: http://review.typo3.org/40806


Reviewed-by: default avatarBenjamin Mack <benni@typo3.org>
Tested-by: default avatarBenjamin Mack <benni@typo3.org>
Reviewed-by: default avatarHelmut Hummel <helmut.hummel@typo3.org>
Tested-by: default avatarHelmut Hummel <helmut.hummel@typo3.org>
parent 1757b4d7
Branches
Tags
No related merge requests found
......@@ -275,7 +275,7 @@ class ExtendedFileUtility extends BasicFileUtility {
foreach ($this->getErrorMessages() as $msg) {
$flashMessage = GeneralUtility::makeInstance(
FlashMessage::class,
$msg,
htmlspecialchars($msg),
'',
FlashMessage::ERROR,
TRUE
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment