Skip to main content

Improper Neutralization of Special Elements Used in a Template Engine

CVE-2025-46731

Severity High
Score 7.3/10

Summary

Craft is a content management system. Craft CMS versions 4.12.2 through 4.14.12 and 5.4.3 through 5.6.14 contain a potential remote code execution vulnerability via Twig SSTI. Exploitation requires administrator access and "ALLOW\_ADMIN\_CHANGES" to be enabled.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • HIGH
  • HIGH
  • HIGH

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.

Advisory Timeline

  • Published