1. Archivio CVE
  2. 2026
  3. CVE-2026-52889

CVE-2026-52889

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

Descrizione

Formie is a Craft CMS plugin for creating forms. Prior to 3.1.27, Formie can pass request-derived Hidden field defaults such as HTTP User Agent, Referer URL, Current URL, Current URL without Query String, Query Parameter, and Cookie Value to Craft's Twig rendering layer during front-end form rendering. An unauthenticated attacker can place Twig syntax in one of these request-controlled inputs when a public form contains an affected Hidden field. Hidden::getFrontEndInputOptions() then assigns the value to defaultValue and calls renderString, causing server-side template evaluation rather than treating the request data as a plain string. Depending on the Craft site configuration and available Twig capabilities, exploitation can disclose sensitive information, modify application state, or achieve remote code execution. This issue is fixed in version 3.1.27.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
verbb formie < 3.1.27 –
Tutte le 9 vulnerabilità di Verbb Formie

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 188 CVE di tipo CWE-1336, con andamento e prevenzione

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