Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:composer/smarty/smarty@3.1.47
purl pkg:composer/smarty/smarty@3.1.47
Next non-vulnerable version 4.5.3
Latest non-vulnerable version 5.2.0
Risk 4.0
Vulnerabilities affecting this package (2)
Vulnerability Summary Fixed by
VCID-3829-yarc-yqh3
Aliases:
CVE-2023-28447
GHSA-7j98-h7fp-4vwj
smarty Cross-site Scripting vulnerability in Javascript escaping An attacker could exploit this vulnerability to execute arbitrary JavaScript code in the context of the user's browser session. This may lead to unauthorized access to sensitive user data, manipulation of the web application's behavior, or unauthorized actions performed on behalf of the user.
3.1.48
Affected by 1 other vulnerability.
4.3.1
Affected by 1 other vulnerability.
VCID-a3yk-8fmf-x7fw
Aliases:
CVE-2024-35226
GHSA-4rmg-292m-wg3w
Smarty vulnerable to PHP Code Injection by malicious attribute in extends-tag Template authors could inject php code by choosing a malicous file name for an extends-tag. Users that cannot fully trust template authors should update asap.
4.5.3
Affected by 0 other vulnerabilities.
5.1.1
Affected by 0 other vulnerabilities.
5.2.0
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (1)
Vulnerability Summary Aliases
VCID-h2k4-cqfq-sbhw In Smarty before 3.1.47 and 4.x before 4.2.1, libs/plugins/function.mailto.php allows XSS. A web page that uses smarty_function_mailto, and that could be parameterized using GET or POST input parameters, could allow injection of JavaScript code by a user. CVE-2018-25047
GHSA-hwq7-5vv9-c6cf

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-06T04:59:58.249571+00:00 GitLab Importer Affected by VCID-a3yk-8fmf-x7fw https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/smarty/smarty/CVE-2024-35226.yml 38.6.0
2026-06-06T03:37:40.864344+00:00 GitLab Importer Affected by VCID-3829-yarc-yqh3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/smarty/smarty/CVE-2023-28447.yml 38.6.0
2026-06-05T21:34:11.522190+00:00 GHSA Importer Fixing VCID-h2k4-cqfq-sbhw https://github.com/advisories/GHSA-hwq7-5vv9-c6cf 38.6.0
2026-06-05T17:11:55.638259+00:00 GitLab Importer Fixing VCID-h2k4-cqfq-sbhw https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/smarty/smarty/CVE-2018-25047.yml 38.6.0
2026-06-04T17:45:51.364751+00:00 GithubOSV Importer Fixing VCID-h2k4-cqfq-sbhw https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-hwq7-5vv9-c6cf/GHSA-hwq7-5vv9-c6cf.json 38.6.0