> CVE-2024-35226 [HIGH]

« BACK_TO_HOME
PUBLISHED
2024-05-28 21:16
MODIFIED
2024-11-21 09:19
CVSS_SCORE V3
7.3
EPSS (Prob. Exploit)
0.51%
Top 56.5%
DATA SOURCES:
NVD đź”— 2025-10-18 CVE PROJECT đź”— 2026-01-19 FIRST EPSS đź”— 2026-11-08 GITHUB đź”— 2026-11-11 OSV đź”— 2026-11-08

> DESCRIPTION

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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-4rmg-292m-wg3w HIGH

Smarty vulnerable to PHP Code Injection by malicious attribute in extends-tag

AFFECTED PACKAGES:
COMPOSER / smarty/smarty
>= 3.0.0, < 4.5.3
Fixed in: 4.5.3
COMPOSER / smarty/smarty
>= 5.0.0, < 5.1.1
Fixed in: 5.1.1

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

PHP Code Injection by malicious attribute in extends-tag in Smarty

AFFECTED PACKAGES:
Unknown / Unknown
62 versions affected
ALIASES:
GHSA-4rmg-292m-wg3w

> HISTORIQUE DES MODIFICATIONS

Première apparition
28/05/2024 21:16
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:51
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME