CVE-2018-25047: XSS

Published Sep 14, 2022
·
Updated

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 smartyfunctionmailto, and that could be parameterized using GET or POST input parameters, could allow injection of JavaScript code by a user.

Other sources

smartyfunctionmailto - JavaScript injection in eval function

Affected Software

6 affected componentsFixes available
composer/smarty/smarty<3.1.47, >=4.0.0, <4.2.1
Smarty smarty<3.1.47
Smarty smarty>=4.0.0<4.2.1
Debian Debian Linux=10.0
debian/smarty3<=3.1.39-2+deb11u1
3.1.39-2+deb11u23.1.47-2+deb12u13.1.48-2
debian/smarty4
4.3.0-1+deb12u24.5.5-1

Event History

Sep 14, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Advisory Published
11:32 AM
Sep 15, 2022
Data Sourced
via NVD·12:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Dec 13, 2024
Data Sourced
via Ubuntu·01:24 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·01:26 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2018-25047?

CVE-2018-25047 is considered to have a high severity due to its potential for allowing cross-site scripting (XSS) attacks.

2

How do I fix CVE-2018-25047?

To fix CVE-2018-25047, upgrade Smarty to version 3.1.48 or 4.2.1 or later.

3

Which versions of Smarty are affected by CVE-2018-25047?

CVE-2018-25047 affects Smarty versions prior to 3.1.48 and versions between 4.0.0 and 4.2.1.

4

What types of attacks can CVE-2018-25047 facilitate?

CVE-2018-25047 can facilitate cross-site scripting (XSS) attacks by allowing the injection of JavaScript code.

5

Are there any specific software packages vulnerable due to CVE-2018-25047?

Vulnerable software packages include specified versions of Smarty 3.x and 4.x, particularly under Debian systems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203