Advisory

UBUNTU-CVE-2023-28447

Also known as: CVE-2023-28447

Summary

The record has no summary.

Details

Smarty is a template engine for PHP. In affected versions smarty did not properly escape javascript code. An attacker could exploit this vulnerability to execute arbitrary JavaScript code in the context of the user's browser session. This may lead to unauthorized access to sensitive user data, manipulation of the web application's behavior, or unauthorized actions performed on behalf of the user. Users are advised to upgrade to either version 3.1.48 or to 4.3.1 to resolve this issue. There are no known workarounds for this vulnerability.

Severity

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

Dates

Published
2023-03-28 21:15 UTC
Modified
2026-05-20 16:32 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.

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