7.5

CVE-2008-4810: smarty Code Injection

CVSS: 7.5v2.0HighModified
Published 31-10-2008Last modified 07-08-2024

Vulnerability summary

CVE-2008-4810 is a high (CVSS 7.5) Code Injection vulnerability in smarty. EPSS estimates a 2.19% chance of exploitation in the next 30 days, higher than 82.1% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v2.0 (NVD)
EPSS score
2.19%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2

Timeline

  1. 31-10-2008
    PublishedVulnerability first disclosed.
  2. 07-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

1 score · 1 source · 1 version

EPSS trend

Probability

2.19%

Chance of exploitation in the next 30 days

Percentile

82%

Versus all other CVEs

30-day change

0.00 pp

From 2.19% on 19-09-2026

19-09-202619-10-2026
EPSS score
2.19%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Smarty1 product
  • smarty1.0 | 1.0a | 1.0b | 1.1.0 | 1.2.0 | 1.2.1 | 1.2.2 | 1.3.0 | 1.3.1 | 1.3.2 | 1.4.0 | 1.4.0:b1 | 1.4.0:b2 | 1.4.1 | 1.4.2 | 1.4.3 | 1.4.4 | 1.4.5 | 1.4.6 | 1.5.0 | 1.5.1 | 1.5.2 | 2.0.0 | 2.0.1 | 2.1.0 | 2.1.1 | 2.2.0 | 2.3.0 | 2.3.1 | 2.4.0 | 2.4.1 | 2.4.2 | 2.5.0 | 2.5.0:rc1 | 2.5.0:rc2 | 2.6.0 | 2.6.0:rc1 | 2.6.0:rc2 | 2.6.0:rc3 | 2.6.1 | 2.6.2 | 2.6.3 | 2.6.4 | 2.6.5 | 2.6.6 | 2.6.7 | 2.6.9 | 2.6.10 | 2.6.11 | 2.6.12 | 2.6.13 | 2.6.14 | 2.6.15 | 2.6.16 | 2.6.17 | 2.6.18

1 vendor · 1 product

References

10 links