Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-28447

published high CVSS 3.1 · 7.1

Cross site scripting vulnerability in Javascript escaping in smarty/smarty

Published
28 Mar 2023, 20:07:39 UTC
Updated
03 Nov 2025, 21:47:36 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
smarty-php — smarty>= 4.0.0, < 4.3.1 · < 3.1.48 Affected Not stated GitHub_M
Debian bookworm smarty3 Advisory build 3.1.47-2+deb12u1 DSA-5826-1
Ubuntu bionic civicrm Advisory build 4.7.30+dfsg-1ubuntu1+esm1 USN-8242-1
Debian bullseye smarty3 Advisory build 3.1.39-2+deb11u2 DLA-3956-1
Ubuntu bionic civicrm-common Advisory build 4.7.30+dfsg-1ubuntu1+esm1 USN-8242-1
Ubuntu bionic civicrm-l10n Advisory build 4.7.30+dfsg-1ubuntu1+esm1 USN-8242-1
Ubuntu bionic postfixadmin Advisory build 3.0.2-2ubuntu0.1~esm1 USN-6550-1
Ubuntu bionic smarty3 Advisory build 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1 USN-7158-1
Show 21 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu bionic wordpress-civicrm Advisory build 4.7.30+dfsg-1ubuntu1+esm1 USN-8242-1
Ubuntu focal civicrm Advisory build 5.21.2+dfsg-1ubuntu0.1~esm1 USN-8242-1
Ubuntu focal civicrm-common Advisory build 5.21.2+dfsg-1ubuntu0.1~esm1 USN-8242-1
Ubuntu focal civicrm-l10n Advisory build 5.21.2+dfsg-1ubuntu0.1~esm1 USN-8242-1
Ubuntu focal postfixadmin Advisory build 3.2.1-3ubuntu0.1~esm1 USN-6550-1
Ubuntu focal smarty3 Advisory build 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1 USN-7158-1
Ubuntu focal wordpress-civicrm Advisory build 5.21.2+dfsg-1ubuntu0.1~esm1 USN-8242-1
Ubuntu jammy civicrm Advisory build 5.33.2+dfsg1-1ubuntu1+esm1 USN-8242-1
Ubuntu jammy civicrm-common Advisory build 5.33.2+dfsg1-1ubuntu1+esm1 USN-8242-1
Ubuntu jammy civicrm-l10n Advisory build 5.33.2+dfsg1-1ubuntu1+esm1 USN-8242-1
Ubuntu jammy postfixadmin Advisory build 3.3.10-2ubuntu0.1~esm1 USN-6550-1
Ubuntu jammy smarty3 Advisory build 3.1.39-2ubuntu1.22.04.2 USN-7158-1
Ubuntu jammy wordpress-civicrm Advisory build 5.33.2+dfsg1-1ubuntu1+esm1 USN-8242-1
Ubuntu noble postfixadmin Advisory build 3.3.13-1ubuntu0.1~esm1 USN-8242-2
Ubuntu noble smarty3 Advisory build 3.1.48-1ubuntu0.24.04.1 USN-7158-1
Ubuntu xenial civicrm Advisory build 4.7.1+dfsg-2ubuntu1+esm1 USN-8242-1
Ubuntu xenial civicrm-common Advisory build 4.7.1+dfsg-2ubuntu1+esm1 USN-8242-1
Ubuntu xenial civicrm-l10n Advisory build 4.7.1+dfsg-2ubuntu1+esm1 USN-8242-1
Ubuntu xenial drupal7-mod-civicrm Advisory build 4.7.1+dfsg-2ubuntu1+esm1 USN-8242-1
Ubuntu xenial smarty3 Advisory build 3.1.21-1ubuntu1+esm2 USN-8272-1
Ubuntu xenial wordpress-civicrm Advisory build 4.7.1+dfsg-2ubuntu1+esm1 USN-8242-1

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

15

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.1 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
smarty-php smarty >= 4.0.0, < 4.3.1 (affected)< 3.1.48 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (GitHub_M · cna)

References

6

Provider assertions

2

GitHub_M · cna

Cross site scripting vulnerability in Javascript escaping in smarty/smarty

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
3009a74a781de02ec607780805e5ca267409a3fcce5aeee6f85d183d156f5a51
Ingested
23 Sep 2026, 08:07:45 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected