HOMEVULNERABILITIESCVE-2008-4810
HIGH

CVE-2008-4810

CWE-94Published: October 31, 2008· Updated: Jun 16, 2026

7.5
CVSS v3.1

Official 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.

NVD Source

Technical Analysis

CVE-2008-4810 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityP
IntegrityP
AvailabilityP
AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected Vendors & Products

smarty1 product(s)
smarty
Source: NVD CPE · 49 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (20)

Quick Facts

CVE IDCVE-2008-4810
CVSS Score7.5 / 10
SeverityHIGH
WeaknessCWE-94
CISA KEVNo
Affected1 vendor(s)
PublishedOct 31, 2008

Related CVEs (CWE-94)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2008-4810 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.