5.4
MEDIUM
CVE-2018-25047
Apache Smarty Mailto Plugin Cross-Site Scripting Vulnerability
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.

INFO

Published Date :

Sept. 15, 2022, 12:15 a.m.

Last Modified :

March 3, 2023, 8 p.m.

Remotely Exploitable :

Yes !

Impact Score :

2.7

Exploitability Score :

2.3
Affected Products

The following products are affected by CVE-2018-25047 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Smarty smarty
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-25047.

URL Resource
https://bugs.gentoo.org/870100 Issue Tracking Third Party Advisory
https://github.com/smarty-php/smarty/issues/454 Exploit Issue Tracking Patch Third Party Advisory
https://github.com/smarty-php/smarty/releases/tag/v3.1.47 Release Notes
https://github.com/smarty-php/smarty/releases/tag/v4.2.1 Release Notes
https://lists.debian.org/debian-lts-announce/2023/01/msg00002.html Mailing List Third Party Advisory
https://security.gentoo.org/glsa/202209-09 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-25047 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-25047 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Mar. 03, 2023

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:* versions up to (excluding) 3.1.47 *cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (including) 4.2.1 OR *cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:* versions up to (excluding) 3.1.47 *cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (excluding) 4.2.1
  • Modified Analysis by [email protected]

    Feb. 28, 2023

    Action Type Old Value New Value
    Changed Reference Type https://github.com/smarty-php/smarty/releases/tag/v3.1.47 Release Notes, Third Party Advisory https://github.com/smarty-php/smarty/releases/tag/v3.1.47 Release Notes
    Changed Reference Type https://github.com/smarty-php/smarty/releases/tag/v4.2.1 Release Notes, Third Party Advisory https://github.com/smarty-php/smarty/releases/tag/v4.2.1 Release Notes
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2023/01/msg00002.html No Types Assigned https://lists.debian.org/debian-lts-announce/2023/01/msg00002.html Mailing List, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jan. 05, 2023

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2023/01/msg00002.html [No Types Assigned]
  • Modified Analysis by [email protected]

    Oct. 06, 2022

    Action Type Old Value New Value
    Changed Reference Type https://security.gentoo.org/glsa/202209-09 No Types Assigned https://security.gentoo.org/glsa/202209-09 Third Party Advisory
  • CVE Modified by [email protected]

    Sep. 25, 2022

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202209-09 [No Types Assigned]
  • Initial Analysis by [email protected]

    Sep. 16, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
    Changed Reference Type https://bugs.gentoo.org/870100 No Types Assigned https://bugs.gentoo.org/870100 Issue Tracking, Third Party Advisory
    Changed Reference Type https://github.com/smarty-php/smarty/issues/454 No Types Assigned https://github.com/smarty-php/smarty/issues/454 Exploit, Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://github.com/smarty-php/smarty/releases/tag/v3.1.47 No Types Assigned https://github.com/smarty-php/smarty/releases/tag/v3.1.47 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/smarty-php/smarty/releases/tag/v4.2.1 No Types Assigned https://github.com/smarty-php/smarty/releases/tag/v4.2.1 Release Notes, Third Party Advisory
    Added CWE NIST CWE-79
    Added CPE Configuration OR *cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:* versions up to (excluding) 3.1.47 *cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (including) 4.2.1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-25047 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-25047 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.17 }} 0.03%

score

0.53626

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability