Description
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.
Published: 2022-09-14
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-3262-1 smarty3 security update
Debian DLA Debian DLA DLA-3956-1 smarty3 security update
EUVD EUVD EUVD-2022-6844 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.
Github GHSA Github GHSA GHSA-hwq7-5vv9-c6cf Smarty Cross-site Scripting vulnerability in pages that use smarty_function_mailto
Ubuntu USN Ubuntu USN USN-7158-1 Smarty vulnerabilities
History

Mon, 03 Nov 2025 22:30:00 +0000

Type Values Removed Values Added
References

Fri, 11 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00288}

epss

{'score': 0.0029}


Subscriptions

Debian Debian Linux
Smarty Smarty
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-11-03T21:44:10.223Z

Reserved: 2022-09-14T00:00:00.000Z

Link: CVE-2018-25047

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-09-15T00:15:09.580

Modified: 2025-11-03T22:15:45.627

Link: CVE-2018-25047

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses