Security mailing lists by PureSourceCode

CVE-2008-4810

HIGH 7.5CVSS 2.0

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.

Published
31 Oct 2008
Last modified
16 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-94
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.0:*:*:*:*:*:*:*
= 1.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.0a:*:*:*:*:*:*:*
= 1.0a
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.0b:*:*:*:*:*:*:*
= 1.0b
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.1.0:*:*:*:*:*:*:*
= 1.1.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.2.0:*:*:*:*:*:*:*
= 1.2.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.2.1:*:*:*:*:*:*:*
= 1.2.1
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.2.2:*:*:*:*:*:*:*
= 1.2.2
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.3.0:*:*:*:*:*:*:*
= 1.3.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.3.1:*:*:*:*:*:*:*
= 1.3.1
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.3.2:*:*:*:*:*:*:*
= 1.3.2
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.4.0:*:*:*:*:*:*:*
= 1.4.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.4.0:b1:*:*:*:*:*:*
= 1.4.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.4.0:b2:*:*:*:*:*:*
= 1.4.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.4.1:*:*:*:*:*:*:*
= 1.4.1
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.4.2:*:*:*:*:*:*:*
= 1.4.2
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.4.3:*:*:*:*:*:*:*
= 1.4.3
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.4.4:*:*:*:*:*:*:*
= 1.4.4
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.4.5:*:*:*:*:*:*:*
= 1.4.5
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.4.6:*:*:*:*:*:*:*
= 1.4.6
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.5.0:*:*:*:*:*:*:*
= 1.5.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.5.1:*:*:*:*:*:*:*
= 1.5.1
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.5.2:*:*:*:*:*:*:*
= 1.5.2
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.0.0:*:*:*:*:*:*:*
= 2.0.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.0.1:*:*:*:*:*:*:*
= 2.0.1
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.1.0:*:*:*:*:*:*:*
= 2.1.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.1.1:*:*:*:*:*:*:*
= 2.1.1
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.2.0:*:*:*:*:*:*:*
= 2.2.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.3.0:*:*:*:*:*:*:*
= 2.3.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.3.1:*:*:*:*:*:*:*
= 2.3.1
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.4.0:*:*:*:*:*:*:*
= 2.4.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.4.1:*:*:*:*:*:*:*
= 2.4.1
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.4.2:*:*:*:*:*:*:*
= 2.4.2
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.5.0:*:*:*:*:*:*:*
= 2.5.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.5.0:rc1:*:*:*:*:*:*
= 2.5.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.5.0:rc2:*:*:*:*:*:*
= 2.5.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.0:*:*:*:*:*:*:*
= 2.6.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.0:rc1:*:*:*:*:*:*
= 2.6.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.0:rc2:*:*:*:*:*:*
= 2.6.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.0:rc3:*:*:*:*:*:*
= 2.6.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.1:*:*:*:*:*:*:*
= 2.6.1
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.2:*:*:*:*:*:*:*
= 2.6.2
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.3:*:*:*:*:*:*:*
= 2.6.3
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.4:*:*:*:*:*:*:*
= 2.6.4
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.5:*:*:*:*:*:*:*
= 2.6.5
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.6:*:*:*:*:*:*:*
= 2.6.6
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.7:*:*:*:*:*:*:*
= 2.6.7
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.9:*:*:*:*:*:*:*
= 2.6.9
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.10:*:*:*:*:*:*:*
= 2.6.10
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.11:*:*:*:*:*:*:*
= 2.6.11
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.12:*:*:*:*:*:*:*
= 2.6.12
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.13:*:*:*:*:*:*:*
= 2.6.13
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.14:*:*:*:*:*:*:*
= 2.6.14
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.15:*:*:*:*:*:*:*
= 2.6.15
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.16:*:*:*:*:*:*:*
= 2.6.16
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.17:*:*:*:*:*:*:*
= 2.6.17
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.18:*:*:*:*:*:*:*
= 2.6.18

References

History

  • 25 Nov 2026 20:14 UTC · NVD: first stored (published 31 Oct 2008)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.