ADVISORIES

Vulnerability

CVE-2023-28447

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.

10 advisories report this vulnerability, across 3 ecosystems.

Advisories in Debian

  • DEBIAN-CVE-2023-28447

    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…

    CVE-2023-28447 Debian Updated 26 October 2026
  • DLA-3956-1

    smarty3 - security update

    CVE-2018-25047CVE-2023-28447CVE-2024-35226 Debian Updated 20 November 2026
  • DSA-5826-1

    smarty3 - security update

    CVE-2023-28447CVE-2024-35226 Debian Updated 20 November 2026

References