Approved changes feed: RSS · Atom

cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorSmarty (a48cdf8a-f51a-5615-ac16-e238c2ffd118)
ProductSmarty (a064b176-e6b0-51ec-9a71-b494feb650d0)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:composer/smarty/smarty purl2cpe 2026-06-01 10:12:33.241256
pkg:github/smarty-php/smarty purl2cpe 2026-06-01 10:12:33.241258
pkg:rpm/fedora/smarty purl2cpe 2026-06-01 10:12:33.241260
pkg:rpm/opensuse/smarty purl2cpe 2026-06-01 10:12:33.241261

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2023-28447 vulnerable 2026-06-08 06:01:10.896328 Cross site scripting vulnerability in Javascript escaping in smarty/smarty
HIGH (7.1)
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.
Published: 2023-03-28T20:07:39.103Z
Updated: 2025-11-03T21:47:36.097Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-29221 vulnerable 2026-06-08 05:42:47.366098 PHP Code Injection by malicious block or filename in Smarty
HIGH (8.8)
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.45 and 4.1.1, template authors could inject php code by choosing a malicious {block} name or {include} file name. Sites that cannot fully trust template authors should upgrade to versions 3.1.45 or 4.1.1 to receive a patch for this issue. There are currently no known workarounds.
Published: 2022-05-24T00:00:00.000Z
Updated: 2025-04-23T18:22:54.999Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-29454 vulnerable 2026-06-08 05:31:26.393661 Sandbox Escape by math function in smarty
HIGH (8.1)
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.42 and 4.0.2, template authors could run arbitrary PHP code by crafting a malicious math string. If a math string was passed through as user provided data to the math function, external users could run arbitrary PHP code by crafting a malicious math string. Users should upgrade to version 3.1.42 or 4.0.2 to receive a patch.
Published: 2022-01-10T00:00:00.000Z
Updated: 2025-04-23T19:14:05.629Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-26120 vulnerable 2026-06-08 05:30:42.028317 Details available
Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring.
Published: 2021-02-22T01:38:15.000Z
Updated: 2024-08-03T20:19:20.027Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-26119 vulnerable 2026-06-08 05:30:42.027560 Details available
Smarty before 3.1.39 allows a Sandbox Escape because $smarty.template_object can be accessed in sandbox mode.
Published: 2021-02-22T01:34:05.000Z
Updated: 2024-08-03T20:19:20.153Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-21408 vulnerable 2026-06-08 05:29:11.960889 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2018-25047 vulnerable 2026-06-08 05:11:29.233114 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2018-16831 vulnerable 2026-06-08 05:11:05.529766 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2018-13982 vulnerable 2026-06-08 05:10:52.477592 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2017-1000480 vulnerable 2026-06-08 05:08:34.610715 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2014-8350 vulnerable 2026-06-08 05:06:08.504483 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2012-4277 vulnerable 2026-06-08 05:02:16.877629 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2011-1028 vulnerable 2026-06-08 04:56:40.954756 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2010-4722 vulnerable 2026-06-08 04:56:30.444447 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2009-5054 vulnerable 2026-06-08 04:51:51.793232 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2008-4811 not_vulnerable 2026-06-08 04:50:48.368990 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2008-1066 vulnerable 2026-06-08 04:50:18.720290 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.