CVE & CISA-KEV Catalog

CVE-2023-28447

HIGH
7.1
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
smarty3Debian
Fixed in:3.1.39-2+deb11u2CVE-2023-28447
Fixed in:3.1.47-2+deb12u1CVE-2023-28447
Fixed in:3.1.48-1CVE-2023-28447
Fixed in:3.1.48-1CVE-2023-28447
civicrmUbuntu
Fixed in:4.7.1+dfsg-2ubuntu1+esm1USN-8242-1
Fixed in:4.7.30+dfsg-1ubuntu1+esm1USN-8242-1
Fixed in:5.21.2+dfsg-1ubuntu0.1~esm1USN-8242-1
Fixed in:5.33.2+dfsg1-1ubuntu1+esm1USN-8242-1
civicrm-commonUbuntu
Fixed in:4.7.1+dfsg-2ubuntu1+esm1USN-8242-1
Fixed in:4.7.30+dfsg-1ubuntu1+esm1USN-8242-1
Fixed in:5.21.2+dfsg-1ubuntu0.1~esm1USN-8242-1
Fixed in:5.33.2+dfsg1-1ubuntu1+esm1USN-8242-1
postfixadminUbuntu
Fixed in:3.0.2-2ubuntu0.1~esm1USN-6550-1
Fixed in:3.2.1-3ubuntu0.1~esm1USN-6550-1
Fixed in:3.3.10-2ubuntu0.1~esm1USN-6550-1
Fixed in:3.3.13-1ubuntu0.1~esm1USN-8242-2
smarty3Ubuntu
Fixed in:3.1.21-1ubuntu1+esm2USN-8272-1
Fixed in:3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1USN-7158-1
Fixed in:3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1USN-7158-1
Fixed in:3.1.39-2ubuntu1.22.04.2USN-7158-1
Fixed in:3.1.48-1ubuntu0.24.04.1USN-7158-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeChanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityLow

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Exploit Intelligence

1.03%probability of exploitation in 30 days
59thpercentile

Moderate risk: more likely to be exploited than 59% of all known CVEs.

References

Related Vulnerabilities

Other CWE-79 (Cross-Site Scripting (XSS)) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-11022Medium6.999%-Fix
CVE-2019-3929Critical9.899%KEVFix
CVE-2020-9496Medium6.199%--
CVE-2023-28341Medium6.199%-Fix
CVE-2018-12998Medium6.198%--
CVE-2025-4123High7.698%-Fix
Embed a live status badge for CVE-2023-28447
CVE-2023-28447 severity badge

Markdown

[![CVE-2023-28447](https://tridentstack.com/cve/badge/CVE-2023-28447.svg)](https://tridentstack.com/cve/CVE-2023-28447)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-28447"><img src="https://tridentstack.com/cve/badge/CVE-2023-28447.svg" alt="CVE-2023-28447"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.