# CVE-2023-28447: smarty3: Smarty is a template engine for PHP

CVE-2023-28447 is fixed in 6 products on 1 platform, first by civicrm-common 4.7.30+dfsg-1ubuntu1+esm1, released March 28, 2023. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2023-28447
- Priority: Routine
- CVSS: 6.1 (High)
- EPSS: 0.0102
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 28, 2023

## Description

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | civicrm-common Ubuntu 18.04.6 LTS (bionic) | 4.7.30+dfsg-1ubuntu1+esm1 | [civicrm-common 4.7.30+dfsg-1ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-civicrm-common-4.7.30-dfsg-1ubuntu1-esm1.md) | Mar 28, 2023 |
| Linux | civicrm-common Ubuntu 20.04 LTS (focal) | 5.21.2+dfsg-1ubuntu0.1~esm1 | [civicrm-common 5.21.2+dfsg-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-civicrm-common-5.21.2-dfsg-1ubuntu0.1-esm1.md) | Mar 28, 2023 |
| Linux | civicrm-common Ubuntu 22.04.1 LTS (jammy) | 5.33.2+dfsg1-1ubuntu1+esm1 | [civicrm-common 5.33.2+dfsg1-1ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-civicrm-common-5.33.2-dfsg1-1ubuntu1-esm1.md) | Mar 28, 2023 |
| Linux | civicrm-l10n Ubuntu 18.04.6 LTS (bionic) | 4.7.30+dfsg-1ubuntu1+esm1 | [civicrm-l10n 4.7.30+dfsg-1ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-civicrm-l10n-4.7.30-dfsg-1ubuntu1-esm1.md) | Mar 28, 2023 |
| Linux | civicrm-l10n Ubuntu 20.04 LTS (focal) | 5.21.2+dfsg-1ubuntu0.1~esm1 | [civicrm-l10n 5.21.2+dfsg-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-civicrm-l10n-5.21.2-dfsg-1ubuntu0.1-esm1.md) | Mar 28, 2023 |
| Linux | civicrm-l10n Ubuntu 22.04.1 LTS (jammy) | 5.33.2+dfsg1-1ubuntu1+esm1 | [civicrm-l10n 5.33.2+dfsg1-1ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-civicrm-l10n-5.33.2-dfsg1-1ubuntu1-esm1.md) | Mar 28, 2023 |
| Linux | postfixadmin Ubuntu 18.04.6 LTS (bionic) | 3.0.2-2ubuntu0.1~esm1 | [postfixadmin 3.0.2-2ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-postfixadmin-3.0.2-2ubuntu0.1-esm1.md) | Mar 28, 2023 |
| Linux | postfixadmin Ubuntu 20.04 LTS (focal) | 3.2.1-3ubuntu0.1~esm1 | [postfixadmin 3.2.1-3ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-postfixadmin-3.2.1-3ubuntu0.1-esm1.md) | Mar 28, 2023 |
| Linux | postfixadmin Ubuntu 22.04.1 LTS (jammy) | 3.3.10-2ubuntu0.1~esm1 | [postfixadmin 3.3.10-2ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-postfixadmin-3.3.10-2ubuntu0.1-esm1.md) | Mar 28, 2023 |
| Linux | postfixadmin Ubuntu 24.04.5 LTS (noble) | 3.3.13-1ubuntu0.1~esm1 | [postfixadmin 3.3.13-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-postfixadmin-3.3.13-1ubuntu0.1-esm1.md) | Mar 28, 2023 |
| Linux | smarty3 Debian 12.15 (bookworm) | 3.1.47-2+deb12u1 | [DSA-5826-1](https://patchblox.com/security/data/fix/linux/dsa-5826-1.md) | Dec 10, 2024 |
| Linux | smarty3 Debian 13.5 (trixie) | 3.1.48-1 | [DEBIAN-CVE-2023-28447](https://patchblox.com/security/data/fix/linux/debian-cve-2023-28447.md) | Mar 28, 2023 |
| Linux | smarty3 Debian 14 | 3.1.48-1 | [DEBIAN-CVE-2023-28447](https://patchblox.com/security/data/fix/linux/debian-cve-2023-28447.md) | Mar 28, 2023 |
| Linux | smarty3 Ubuntu 18.04.6 LTS (bionic) | 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1 | [smarty3 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-smarty3-3.1.31-20161214.1.c7d42e4-selfpack1-3ubuntu0.1-esm1.md) | May 28, 2024 |
| Linux | smarty3 Ubuntu 20.04 LTS (focal) | 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1 | [smarty3 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-smarty3-3.1.34-20190228.1.c9f0de05-selfpack1-1ubuntu0.1.md) | May 28, 2024 |
| Linux | smarty3 Ubuntu 22.04.1 LTS (jammy) | 3.1.39-2ubuntu1.22.04.2 | [smarty3 3.1.39-2ubuntu1.22.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-smarty3-3.1.39-2ubuntu1.22.04.2.md) | May 28, 2024 |
| Linux | smarty3 Ubuntu 24.04.5 LTS (noble) | 3.1.48-1ubuntu0.24.04.1 | [smarty3 3.1.48-1ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-smarty3-3.1.48-1ubuntu0.24.04.1.md) | May 28, 2024 |
| Linux | smarty3 Ubuntu 24.10 (oracular) | 3.1.48-1ubuntu0.24.10.1 | [smarty3 3.1.48-1ubuntu0.24.10.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-smarty3-3.1.48-1ubuntu0.24.10.1.md) | Jan 16, 2026 |
| Linux | smarty4 Debian 12.15 (bookworm) | 4.3.0-1+deb12u1 | [DEBIAN-CVE-2023-28447](https://patchblox.com/security/data/fix/linux/debian-cve-2023-28447.md) | Mar 28, 2023 |
| Linux | smarty4 Debian 13.5 (trixie) | 4.3.1-1 | [DEBIAN-CVE-2023-28447](https://patchblox.com/security/data/fix/linux/debian-cve-2023-28447.md) | Mar 28, 2023 |
| Linux | smarty4 Debian 14 | 4.3.1-1 | [DEBIAN-CVE-2023-28447](https://patchblox.com/security/data/fix/linux/debian-cve-2023-28447.md) | Mar 28, 2023 |
| Linux | wordpress-civicrm Ubuntu 18.04.6 LTS (bionic) | 4.7.30+dfsg-1ubuntu1+esm1 | [wordpress-civicrm 4.7.30+dfsg-1ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-wordpress-civicrm-4.7.30-dfsg-1ubuntu1-esm1.md) | Mar 28, 2023 |
| Linux | wordpress-civicrm Ubuntu 20.04 LTS (focal) | 5.21.2+dfsg-1ubuntu0.1~esm1 | [wordpress-civicrm 5.21.2+dfsg-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-wordpress-civicrm-5.21.2-dfsg-1ubuntu0.1-esm1.md) | Mar 28, 2023 |
| Linux | wordpress-civicrm Ubuntu 22.04.1 LTS (jammy) | 5.33.2+dfsg1-1ubuntu1+esm1 | [wordpress-civicrm 5.33.2+dfsg1-1ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-wordpress-civicrm-5.33.2-dfsg1-1ubuntu1-esm1.md) | Mar 28, 2023 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
