Commit da611775 authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Oliver Hader
Browse files

[SECURITY] Avoid HTML injection in password recovery mail

The `receiverName` variable used in the password recovery mail of the
Extbase felogin plugin was susceptible to HTML injection due to
missing sanitization. The variable is now passed thru the
`f:format.htmlspecialchars` ViewHelper.

Resolves: #96559
Releases: main, 11.5, 10.4
Change-Id: I60e23c161f7f2fcc87b8870345b10a4c31d7b8db
Security-Bulletin: TYPO3-CORE-SA-2022-004
Security-References: CVE-2022-31049

Tested-by: Oliver Hader's avatarOliver Hader <>
Reviewed-by: Oliver Hader's avatarOliver Hader <>
parent 6f2554dc
......@@ -9,7 +9,7 @@
key: 'forgot_validate_reset_password_html',
extensionName: 'felogin',
arguments: '{ 0: receiverName, 1: recoveryLink, 2: validUntil }'
arguments: '{ 0: "{receiverName -> f:format.htmlspecialchars()}", 1: recoveryLink, 2: validUntil }'
) -> f:format.html()}
Supports Markdown
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