1. Archivio CVE
  2. 2025
  3. CVE-2025-57811

CVE-2025-57811

7.2 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H 7.2 – Alta

Descrizione

Craft is a platform for creating digital experiences. From versions 4.0.0-RC1 to 4.16.5 and 5.0.0-RC1 to 5.8.6, there is a potential remote code execution vulnerability via Twig SSTI (Server-Side Template Injection). This is a follow-up to CVE-2024-52293. This vulnerability has been patched in versions 4.16.6 and 5.8.7.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
craftcms craft cms >= 4.1.0 < 4.16.6 –
craftcms craft cms >= 5.1.0 < 5.8.7 –
craftcms craft cms 4.0.0 rc1 –
craftcms craft cms 4.0.0 rc2 –
craftcms craft cms 4.0.0 rc3 –
craftcms craft cms 5.0.0 rc1 –
Tutte le 157 vulnerabilità di Craftcms Craft Cms

Tipo di vulnerabilità

CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine

The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine.

Impatto sui sistemi

AmbitoImpatto
Integrità Eseguire codice o comandi non autorizzati

Come si previene

Architettura e progettazione Choose a template engine that offers a sandbox or restricted mode, or at least limits the power of any available expressions, function calls, or commands.
Sviluppo Use the template engine's sandbox or restricted mode, if available.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 196 CVE di tipo CWE-1336, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org