CISA list

● Composer package

smarty/smarty

Smarty/smarty has 18 security advisories. The newest release any of them names as the fix is 5.8.4.

As of , smarty/smarty has 18 security advisories. The newest release any of them names as the fix is 5.8.4.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
From 5.0.0 before 5.8.45.8.44 advisories
Before 4.5.74.5.717 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-62993GHSA-cq55-c7wv-pxmqSmarty: SSRF via redirect bypass of trusted_uri using {fetch}Moderate severityFrom 5.0.0 before 5.8.2; Before 4.5.74.5.7, 5.8.2
CVE-2026-62996GHSA-rjhh-76wf-8xmwSmarty Security stream restriction bypass through stream: resourceModerate severityFrom 5.0.0 before 5.8.45.8.4
CVE-2026-62992GHSA-f6wf-28g6-769xSmarty: Symlink path traversal out of trusted directoriesModerate severityFrom 5.0.0 before 5.8.2; Before 4.5.74.5.7, 5.8.2
CVE-2024-35226GHSA-4rmg-292m-wg3wSmarty vulnerable to PHP Code Injection by malicious attribute in extends-tagHigh severityFrom 5.0.0 before 5.1.1; From 3.0.0 before 4.5.34.5.3, 5.1.1
CVE-2023-28447GHSA-7j98-h7fp-4vwjsmarty Cross-site Scripting vulnerability in Javascript escapingHigh severityFrom 4.0.0 before 4.3.1; Before 3.1.483.1.48, 4.3.1
CVE-2018-25047GHSA-hwq7-5vv9-c6cfSmarty Cross-site Scripting vulnerability in pages that use smarty_function_mailtoModerate severityFrom 4.0.0 before 4.2.1; Before 3.1.473.1.47, 4.2.1
CVE-2022-29221GHSA-634x-pc3q-cf4cPHP Code Injection by malicious block or filename in SmartyHigh severityFrom 4.0.0 before 4.1.1; Before 3.1.453.1.45, 4.1.1
CVE-2012-4437GHSA-9gqj-ppv2-f2hqCross-site Scripting in SmartyExceptionModerate severityBefore 3.1.123.1.12
CVE-2014-8350GHSA-2pmx-6mm6-6v72Smarty arbitrary PHP code executionHigh severityBefore 3.1.213.1.21
CVE-2017-1000480GHSA-9m49-vhwv-422gSmarty PHP code injectionCritical severityFrom 3 before 3.1.323.1.32
CVE-2009-5054GHSA-6m9f-8vwq-97pmSmarty Does Not Consider Umask Values When Setting PermissionsModerate severityBefore 3.0.0-beta43.0.0-beta4
CVE-2011-1028GHSA-6frx-2r5w-c524Smarty3 Arbitrary PHP Code ExecutionCritical severityBefore 3.0.73.0.7
CVE-2021-21408GHSA-4h9c-v5vg-5m6mAccess to restricted PHP code by dynamic static class access in smartyHigh severityFrom 4.0.0 before 4.0.3; Before 3.1.433.1.43, 4.0.3
CVE-2021-29454GHSA-29gp-2c3m-3j6mSandbox Escape by math function in smartyHigh severityFrom 4.0.0 before 4.0.2; Before 3.1.423.1.42, 4.0.2
CVE-2021-26120GHSA-3rpf-5rqv-689qPHP Code Injection by malicious function name in smartyCritical severityBefore 3.1.393.1.39
CVE-2021-26119GHSA-w5hr-jm4j-9jvqSandbox escape through template_object in smartyHigh severityBefore 3.1.393.1.39
CVE-2018-16831GHSA-65j5-vpm7-6xp4Smarty Path Traversal VulnerabilityModerate severityBefore 3.1.333.1.33
CVE-2018-13982GHSA-7gfx-wxfh-7rvmSmarty Path Traversal VulnerabilityHigh severityBefore 3.1.333.1.33

Other Composer packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0