ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2023-28447

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.

Affected packages

EcosystemPackageAffected versions
Debian:12smarty3
All versions before 3.1.47-2+deb12u1 (fixed in 3.1.47-2+deb12u1)
Debian:13smarty3
All versions before 3.1.48-1 (fixed in 3.1.48-1)
Debian:14smarty3
All versions before 3.1.48-1 (fixed in 3.1.48-1)
Debian:12smarty4
All versions before 4.3.0-1+deb12u1 (fixed in 4.3.0-1+deb12u1)
Debian:13smarty4
All versions before 4.3.1-1 (fixed in 4.3.1-1)
Debian:14smarty4
All versions before 4.3.1-1 (fixed in 4.3.1-1)

References