Advisory

UBUNTU-CVE-2018-25047

Also known as: CVE-2018-25047

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.4, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Dates

Published
2022-09-15 00:15 UTC
Modified
2026-10-17 12:55 UTC

Affected packages and fixes

smarty3

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1 (ecosystem)

Fixed versions

3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1

Fix

  • Fixed version 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

smarty3

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 3.1.39-2ubuntu1.22.04.2 (ecosystem)

Fixed versions

3.1.39-2ubuntu1.22.04.2

Fix

  • Fixed version 3.1.39-2ubuntu1.22.04.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

smarty3

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 3.1.48-1ubuntu0.24.04.1 (ecosystem)

Fixed versions

3.1.48-1ubuntu0.24.04.1

Fix

  • Fixed version 3.1.48-1ubuntu0.24.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

smarty3

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

smarty3

Debian packages (deb) · Ubuntu 26.10

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

smarty3

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences