
CVE catalog
CVE-2023-28447
PostfixAdmin vulnerability
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 · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.02% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
Version impact has not been established. The original provider fields are retained below.
Provider details and historical evidence
Original provider fields
{
"package_releases": [
{
"name": "smarty3",
"status": "fixed",
"release": "sid",
"version": "3.1.48-2"
},
{
"name": "smarty3",
"status": "fixed",
"release": "forky",
"version": "3.1.48-2"
},
{
"name": "smarty3",
"status": "fixed",
"release": "trixie",
"version": "3.1.48-2"
},
{
"name": "smarty3",
"status": "fixed",
"release": "bookworm",
"version": "3.1.47-2+deb12u1"
},
{
"name": "smarty3",
"status": "fixed",
"release": "bookworm-security",
"version": "3.1.47-2+deb12u1"
},
{
"name": "smarty4",
"status": "fixed",
"release": "sid",
"version": "4.5.5-1"
},
{
"name": "smarty4",
"status": "fixed",
"release": "forky",
"version": "4.5.5-1"
},
{
"name": "smarty4",
"status": "fixed",
"release": "trixie",
"version": "4.5.5-1"
},
{
"name": "smarty4",
"status": "fixed",
"release": "bookworm",
"version": "4.3.0-1+deb12u2"
},
{
"name": "smarty4",
"status": "fixed",
"release": "bookworm-security",
"version": "4.3.0-1+deb12u2"
}
],
"fixed_versions": [
{
"bug": 1033964,
"name": "smarty3",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "3.1.48-1"
},
{
"bug": 1033964,
"name": "smarty3",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "3.1.48-1"
},
{
"bug": 1033964,
"name": "smarty3",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": "3.1.48-1"
},
{
"bug": 1033964,
"name": "smarty3",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": "3.1.47-2+deb12u1"
},
{
"bug": 1033965,
"name": "smarty4",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "4.3.1-1"
},
{
"bug": 1033965,
"name": "smarty4",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "4.3.1-1"
},
{
"bug": 1033965,
"name": "smarty4",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": "4.3.1-1"
},
{
"bug": 1033965,
"name": "smarty4",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": "4.3.0-1+deb12u1"
}
],
"distribution_packages": [
{
"name": "postfixadmin",
"distro": "ubuntu",
"release": "noble",
"ecosystem": "deb",
"fixed_version": "3.3.13-1ubuntu0.1~esm1"
},
{
"name": "smarty3",
"distro": "ubuntu",
"release": "noble",
"ecosystem": "deb",
"fixed_version": "3.1.48-1ubuntu0.24.04.1"
},
{
"name": "civicrm",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.33.2+dfsg1-1ubuntu1+esm1"
}
]
}
],
"release": "pro",
"versions": [
"5.33.2+dfsg1-1",
"5.33.2+dfsg1-1build1",
"5.33.2+dfsg1-1ubuntu1"
],
"ecosystem": "deb",
"fixed_version": "5.33.2+dfsg1-1ubuntu1+esm1",
"provider_record_id": "UBUNTU-CVE-2023-28447"
},
{
"name": "smarty3",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1"
}
]
}
],
"release": "pro",
"versions": [
"3.1.31+20161214.1.c7d42e4+selfpack1-2",
"3.1.31+20161214.1.c7d42e4+selfpack1-3",
"3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1"
],
"ecosystem": "deb",
"fixed_version": "3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1",
"provider_record_id": "UBUNTU-CVE-2023-28447"
},
{
"name": "postfixadmin",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.3.13-1ubuntu0.1~esm1"
}
]
}
],
"release": "pro",
"versions": [
"3.3.13-1"
],
"ecosystem": "deb",
"fixed_version": "3.3.13-1ubuntu0.1~esm1",
"provider_record_id": "UBUNTU-CVE-2023-28447"
},
{
"name": "smarty3",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1"
}
]
}
],
"release": "20.04",
"versions": [
"3.1.33+20180830.1.3a78a21f+selfpack1-1",
"3.1.34+20190228.1.c9f0de05+selfpack1-1"
],
"ecosystem": "deb",
"fixed_version": "3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1",
"provider_record_id": "UBUNTU-CVE-2023-28447"
},
{
"name": "smarty3",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.1.39-2ubuntu1.22.04.2"
}
]
}
],
"release": "22.04",
"versions": [
"3.1.39-2",
"3.1.39-2ubuntu1",
"3.1.39-2ubuntu1.22.04.1"
],
"ecosystem": "deb",
"fixed_version": "3.1.39-2ubuntu1.22.04.2",
"provider_record_id": "UBUNTU-CVE-2023-28447"
},
{
"name": "smarty3",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.1.48-1ubuntu0.24.04.1"
}
]
}
],
"release": "24.04",
"versions": [
"3.1.48-1"
],
"ecosystem": "deb",
"fixed_version": "3.1.48-1ubuntu0.24.04.1",
"provider_record_id": "UBUNTU-CVE-2023-28447"
},
{
"name": "postfixadmin",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.3.13-1ubuntu0.1~esm1"
}
]
}
],
"release": "pro",
"versions": [
"3.3.13-1"
],
"ecosystem": "deb",
"fixed_version": "3.3.13-1ubuntu0.1~esm1",
"provider_record_id": "USN-8242-2"
}
]
}OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [smarty3]Unknown
Details (4)
3.1.47-2+deb12u1· all · bookwormFixed · Fixed:
3.1.47-2+deb12u1usn · smarty3 · debian · bookworm; usn · smarty3 · debian · 12
3.1.47-2+deb12u1· all · bookwormFixed · Fixed:
3.1.47-2+deb12u1usn · smarty3 · debian · bookworm; usn · smarty3 · debian · 12
3.1.47-2+deb12u1· all · bookworm-securityFixed · Fixed:
3.1.47-2+deb12u1usn · smarty3 · debian · bookworm; usn · smarty3 · debian · 12
3.1.47-2+deb12u1· all · bookworm-securityFixed · Fixed:
3.1.47-2+deb12u1usn · smarty3 · debian · bookworm; usn · smarty3 · debian · 12
- [smarty4]Unknown
Details (4)
4.3.0-1+deb12u2· all · bookwormFixed · Fixed:
4.3.0-1+deb12u1usn · smarty4 · debian · bookworm; usn · smarty4 · debian · 12
4.3.0-1+deb12u2· all · bookwormFixed · Fixed:
4.3.0-1+deb12u1usn · smarty4 · debian · bookworm; usn · smarty4 · debian · 12
4.3.0-1+deb12u2· all · bookworm-securityFixed · Fixed:
4.3.0-1+deb12u1usn · smarty4 · debian · bookworm; usn · smarty4 · debian · 12
4.3.0-1+deb12u2· all · bookworm-securityFixed · Fixed:
4.3.0-1+deb12u1usn · smarty4 · debian · bookworm; usn · smarty4 · debian · 12
[Debian 13 (Trixie)]
- [smarty3]Unknown
Details (2)
3.1.48-2· all · trixieFixed · Fixed:
3.1.48-1usn · smarty3 · debian · 13
3.1.48-2· all · trixieFixed · Fixed:
3.1.48-1usn · smarty3 · debian · 13
- [smarty4]Unknown
Details (2)
4.5.5-1· all · trixieFixed · Fixed:
4.3.1-1usn · smarty4 · debian · 13
4.5.5-1· all · trixieFixed · Fixed:
4.3.1-1usn · smarty4 · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-28447]
- [https://osv.dev/vulnerability/DSA-5826-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-28447]
- [https://osv.dev/vulnerability/USN-8242-2]
- [https://security-tracker.debian.org/tracker/CVE-2023-28447]
- [https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-28447.json]
- [https://ubuntu.com/security/notices/USN-7158-1]
- [https://ubuntu.com/security/notices/USN-8242-2]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-0849.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [Ubuntu Security Notices (USN)]