Advisory

DEBIAN-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

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

Dates

Published
2023-03-28 21:15 UTC
Modified
2026-10-26 18:01 UTC

Affected packages and fixes

smarty3

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 3.1.47-2+deb12u1 (ecosystem)

Fixed versions

3.1.47-2+deb12u1

Fix

  • Fixed version 3.1.47-2+deb12u1
    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) · Debian 13

Affected

  • introduced 0, fixed 3.1.48-1 (ecosystem)

Fixed versions

3.1.48-1

Fix

  • Fixed version 3.1.48-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) · Debian 14

Affected

  • introduced 0, fixed 3.1.48-1 (ecosystem)

Fixed versions

3.1.48-1

Fix

  • Fixed version 3.1.48-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.

smarty4

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 4.3.0-1+deb12u1 (ecosystem)

Fixed versions

4.3.0-1+deb12u1

Fix

  • Fixed version 4.3.0-1+deb12u1
    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.

smarty4

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 4.3.1-1 (ecosystem)

Fixed versions

4.3.1-1

Fix

  • Fixed version 4.3.1-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.

smarty4

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 4.3.1-1 (ecosystem)

Fixed versions

4.3.1-1

Fix

  • Fixed version 4.3.1-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: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences