---
cve: "CVE-2024-35226"
severity: "HIGH"
cvss: 7.3
epss: "51%"
vendor: "smarty-php"
kev: false
exploited: false
published: "2024-05-28 21:16:30"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-10T22:32:32+02:00"
---

# CVE-2024-35226

> 7.3 HIGH · 🧪 PoC

## Beschreibung

Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. In affected versions template authors could inject php code by choosing a malicious file name for an extends-tag. Sites that cannot fully trust template authors should update asap. All users are advised to update. There is no patch for users on the v3 branch. There are no known workarounds for this vulnerability.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |
| UI Interaktion | Erforderlich | good |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Keine | good |

## Patch verfügbar (OSV)

- 0be92bc8a6fb83e6e0d883946f7e7c09ba4e857a (Commit)

## Referenzen

- <https://github.com/smarty-php/smarty/security/advisories/GHSA-4rmg-292m-wg3w>
- <https://github.com/smarty-php/smarty/commit/0be92bc8a6fb83e6e0d883946f7e7c09ba4e857a>
- <https://lists.debian.org/debian-lts-announce/2024/11/msg00013.html>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2024-35226) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
