CVE Tools

Smarty/smarty

15 CVEs tracked. None of them is in CISA KEV.

This hub aggregates every CVE we track for Smarty/smarty, a product in the oss libraries space. Use it to gauge the current risk picture and drill into individual advisories.

Smarty/smarty CVEs per month

Oct 2024 to Sep 2026. Point at a month, or focus the strip and use the arrow keys.
Smarty/smarty CVEs per month
MonthCVEs
2024-100
2024-110
2024-120
2025-010
2025-020
2025-030
2025-040
2025-050
2025-060
2025-070
2025-080
2025-090
2025-100
2025-110
2025-120
2026-010
2026-020
2026-030
2026-040
2026-050
2026-060
2026-070
2026-080
2026-090

Severity

How the 15 CVEs score on CVSS. Severity is not exploitation: KEV is counted above.

  • Critical320%
  • High960%
  • Medium320%

Latest CVEs

The 15 most recently published vulnerabilities affecting Smarty/smarty.

  1. CVE-2024-35226PHP Code Injection by malicious attribute in extends-tag in Smarty7.3
  2. CVE-2023-28447Cross site scripting vulnerability in Javascript escaping in smarty/smarty7.1
  3. CVE-2018-25047In Smarty before 3.1.47 and 4.x before 4.2.1, libs/plugins/function.mailto.php allows XSS. A web page that uses smarty_function_mailto, and that could be parameterized using GET or POST input param...5.4
  4. CVE-2022-29221PHP Code Injection by malicious block or filename in Smarty8.8
  5. CVE-2021-29454Sandbox Escape by math function in smarty8.1
  6. CVE-2021-21408Access to restricted PHP code by dynamic static class access in smarty8.8
  7. CVE-2021-26120Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring.9.8
  8. CVE-2021-26119Smarty before 3.1.39 allows a Sandbox Escape because $smarty.template_object can be accessed in sandbox mode.7.5
  9. CVE-2011-1028The $smarty.template variable in Smarty3 allows attackers to possibly execute arbitrary PHP code via the sysplugins/smarty_internal_compile_private_special_variable.php file.9.8
  10. CVE-2018-13982Smarty_Security::isTrustedResourceDir() in Smarty before 3.1.33 is prone to a path traversal vulnerability due to insufficient template code sanitization. This allows attackers controlling the exec...7.5
  11. CVE-2018-16831Smarty before 3.1.33-dev-4 allows attackers to bypass the trusted_dir protection mechanism via a file:./../ substring in an include statement.5.9
  12. CVE-2017-1000480Smarty 3 before 3.1.32 is vulnerable to a PHP code injection when calling fetch() or display() functions on custom resources that does not sanitize template name.9.8
  13. CVE-2014-8350Smarty before 3.1.21 allows remote attackers to bypass the secure mode restrictions and execute arbitrary PHP code as demonstrated by "{literal}<{/literal}script language=php>" in a template.7.5
  14. CVE-2012-4437Cross-site scripting (XSS) vulnerability in the SmartyException class in Smarty (aka smarty-php) before 3.1.12 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors...4.3
  15. CVE-2009-5054Smarty before 3.0.0 beta 4 does not consider the umask value when setting the permissions of files, which might allow attackers to bypass intended access restrictions via standard filesystem operat...7.5

Product grouping is registry-driven, with AI assist and human review. How it works

We use analytics cookies to see which pages and articles actually help people. Decline and none of them run — the site works the same. What we store