CVE-2018-25047

Exp

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-15 Last update: 2025-11-03 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2018-25047 is rated Exploit Available (54.9/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.80%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2018-25047

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2018-25047

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.60% 0.80% +0.20%
2 2026-02-21 0.53% 0.60% +0.07%
3 2026-02-02 0.53%

Full EPSS history (17 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2018-25047

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.4 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.3 2.7 [email protected]

Weakness enumeration for CVE-2018-25047

GitHub Security Advisory for CVE-2018-25047

GHSA-hwq7-5vv9-c6cf · Severity: medium · Ecosystem: composer — Smarty Cross-site Scripting vulnerability in pages that use smarty_function_mailto

OS Trackers for CVE-2018-25047

vendor priority summary link
debian not yet assigned CVE-2018-25047 not yet assigned priority: Debian including 2 source packages (smarty3, smarty4), 9 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 9. https://security-tracker.debian.org/tracker/CVE-2018-25047
gentoo normal CVE-2018-25047: 1 GLSA(s) (202209-09), 1 atom(s) (dev-php/smarty); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2018-25047
ubuntu medium CVE-2018-25047 medium priority: Ubuntu including 2 source packages (smarty3, smarty4), 26 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 10, released 6, not-affected 4, DNE 3, needs-triage 3. https://ubuntu.com/security/CVE-2018-25047

Affected software / configurations for CVE-2018-25047

Vendor Product Version Raw CPE
smarty smarty < 3.1.47 cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*
smarty smarty >= 4.0.0, < 4.2.1 cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

References for CVE-2018-25047

cvelogic Threat Intelligence