CVE-2008-4810
The _expand_quoted_text function in libs/Smarty_Compiler.class.php in Smarty 2.6.20 before r2797 allows remote attackers to execute arbitrary PHP code via vectors related to templates and (1) a dollar-sign character, aka "php executed in templates;" and (2) a double quoted literal string, aka a "function injection security hole." NOTE: each vector affects slightly different SVN revisions.
Key facts
- CVSS score
- 7.5 (v2.0)
- Severity
- HIGH
- CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P- Weakness (CWE)
- CWE-94
- EPSS score
- 2.2% (82th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2008-4789)
- Published
- October 31, 2008
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2008-4789 in the EU Vulnerability Database. Last updated in EUVD on August 7, 2024.
View on the EU Vulnerability DatabaseAffected products
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
- smarty / smarty
and 6 more…
References
- http://code.google.com/p/smarty-php/source/detail?r=2784&path=/trunk/libs/Smarty_Compiler.class.php
- http://code.google.com/p/smarty-php/source/detail?r=2797&path=/trunk/libs/Smarty_Compiler.class.php
- http://secunia.com/advisories/32329(Vendor Advisory)
- http://securityvulns.ru/Udocument746.html
- http://smarty-php.googlecode.com/svn/trunk/NEWS
- http://www.debian.org/security/2008/dsa-1691
- http://www.openwall.com/lists/oss-security/2008/10/25/2
- http://www.securityfocus.com/bid/31862
- https://bugs.gentoo.org/attachment.cgi?id=169804&action=view
- https://exchange.xforce.ibmcloud.com/vulnerabilities/46031
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain