CVE catalog

CVE-2018-25047

Smarty vulnerabilities

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
1.10% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiansmarty3sid3.1.48-2fixed
Debiansmarty3forky3.1.48-2fixed
Debiansmarty3trixie3.1.48-2fixed
Debiansmarty3bookworm3.1.47-2+deb12u1fixed
Debiansmarty3bookworm-security3.1.47-2+deb12u1fixed
Debiansmarty4sid4.5.5-1fixed
Debiansmarty4forky4.5.5-1fixed
Debiansmarty4trixie4.5.5-1fixed
Debiansmarty4bookworm4.3.0-1+deb12u2fixed
Debiansmarty4bookworm-security4.3.0-1+deb12u2fixed
Ubuntusmarty3noble3.1.48-1ubuntu0.24.04.1fixed
Ubuntusmarty3pro3.1.31+20161214.1.c7d42e4+selfpack1-2vulnerable
Ubuntusmarty3pro3.1.31+20161214.1.c7d42e4+selfpack1-3vulnerable
Ubuntusmarty3pro3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1vulnerable
Ubuntusmarty3pro3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1fixed
Ubuntusmarty320.043.1.33+20180830.1.3a78a21f+selfpack1-1vulnerable
Ubuntusmarty320.043.1.34+20190228.1.c9f0de05+selfpack1-1vulnerable
Ubuntusmarty320.043.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1fixed
Ubuntusmarty322.043.1.39-2vulnerable
Ubuntusmarty322.043.1.39-2ubuntu1vulnerable
Ubuntusmarty322.043.1.39-2ubuntu1.22.04.1vulnerable
Ubuntusmarty322.043.1.39-2ubuntu1.22.04.2fixed
Ubuntusmarty324.043.1.48-1vulnerable
Ubuntusmarty324.043.1.48-1ubuntu0.24.04.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiansmarty3sourcesid3.1.47-1not yet assignedNot reported[1019897]
Debiansmarty3sourceforky3.1.47-1not yet assignedNot reported[1019897]
Debiansmarty3sourcetrixie3.1.47-1not yet assignedNot reported[1019897]
Debiansmarty3sourcebookworm3.1.47-1not yet assignedNot reported[1019897]
Debiansmarty4sourcesid4.2.1-1not yet assignedNot reported[1019896]
Debiansmarty4sourceforky4.2.1-1not yet assignedNot reported[1019896]
Debiansmarty4sourcetrixie4.2.1-1not yet assignedNot reported[1019896]
Debiansmarty4sourcebookworm4.2.1-1not yet assignedNot reported[1019896]
Ubuntusmarty3debnoble3.1.48-1ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntusmarty3debpro3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1Not reportedUSN-7158-1Not reported
Ubuntusmarty3deb20.043.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1Not reportedUSN-7158-1Not reported
Ubuntusmarty3deb22.043.1.39-2ubuntu1.22.04.2Not reportedUSN-7158-1Not reported
Ubuntusmarty3deb24.043.1.48-1ubuntu0.24.04.1Not reportedUSN-7158-1Not reported

[Debian bug #1019897][Debian bug #1019896]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [smarty3]Fixed
    Details (4)
    • 3.1.47-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.1.47-1

      usn · smarty3 · debian · bookworm; usn · smarty3 · debian · 12

    • 3.1.47-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.1.47-1

      usn · smarty3 · debian · bookworm; usn · smarty3 · debian · 12

    • 3.1.47-2+deb12u1 · all · bookworm-security

      Fixed · Fixed: 3.1.47-1

      usn · smarty3 · debian · bookworm; usn · smarty3 · debian · 12

    • 3.1.47-2+deb12u1 · all · bookworm-security

      Fixed · Fixed: 3.1.47-1

      usn · smarty3 · debian · bookworm; usn · smarty3 · debian · 12

  • [smarty4]Fixed
    Details (4)
    • 4.3.0-1+deb12u2 · all · bookworm

      Fixed · Fixed: 4.2.1-1

      usn · smarty4 · debian · bookworm; usn · smarty4 · debian · 12

    • 4.3.0-1+deb12u2 · all · bookworm

      Fixed · Fixed: 4.2.1-1

      usn · smarty4 · debian · bookworm; usn · smarty4 · debian · 12

    • 4.3.0-1+deb12u2 · all · bookworm-security

      Fixed · Fixed: 4.2.1-1

      usn · smarty4 · debian · bookworm; usn · smarty4 · debian · 12

    • 4.3.0-1+deb12u2 · all · bookworm-security

      Fixed · Fixed: 4.2.1-1

      usn · smarty4 · debian · bookworm; usn · smarty4 · debian · 12

[Debian 13 (Trixie)]

  • [smarty3]Fixed
    Details (2)
    • 3.1.48-2 · all · trixie

      Fixed · Fixed: 3.1.47-1

      usn · smarty3 · debian · 13

    • 3.1.48-2 · all · trixie

      Fixed · Fixed: 3.1.47-1

      usn · smarty3 · debian · 13

  • [smarty4]Fixed
    Details (2)
    • 4.5.5-1 · all · trixie

      Fixed · Fixed: 4.2.1-1

      usn · smarty4 · debian · 13

    • 4.5.5-1 · all · trixie

      Fixed · Fixed: 4.2.1-1

      usn · smarty4 · debian · 13

Observed:

References