Smarty Cross-site Scripting vulnerability in pages that use smarty_function_mailto
Moderate severity
GitHub Reviewed
Published
Sep 16, 2022
to the GitHub Advisory Database
•
Updated Feb 3, 2023
Package
Affected versions
< 3.1.47
>= 4.0.0, < 4.2.1
Patched versions
3.1.47
4.2.1
Description
Published by the National Vulnerability Database
Sep 15, 2022
Published to the GitHub Advisory Database
Sep 16, 2022
Reviewed
Sep 16, 2022
Last updated
Feb 3, 2023
In Smarty before 3.1.47 and 4.x before 4.2.1,
libs/plugins/function.mailto.php
allows cross-site scripting. A web page that usessmarty_function_mailto
, and that could be parameterized using GET or POST input parameters, could allow injection of JavaScript code by a user.References