Actions
Bug #92531
closedEmail with php method as string is a valid address
Start date:
2020-10-06
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
- How to reproduce
1. Setup a TYPO3 form with an email field
1. Add email validation
1. Go to the form
1. Enter "${@print(md5(security_test))}
" as email address
1. Send the form
1. Form was sent successfully
As it's not a valid email address the email sender (website admin) gets a bounce mail.
This can be done very often to flood the email box.
- How to solve
Add the DNSCheckValidation to the EmailValidator of library (egulias/EmailValidator).
Actions