Read the docs

Server-side template injection in Thelia allows code execution

Priority MEDIUM 40CWE-1336Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-1336.

Summary

Thelia from 3.0.0 has a server-side template injection flaw in the back-office Email/Messages feature. The feature compiles unsandboxed Twig templates supplied by users and runs them as raw code (CWE-94). An authenticated user with the Messages permission can execute arbitrary PHP functions, read sensitive files and potentially write to the filesystem by editing message content.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

Description from the CNA

Thelia 3.0.0's back-office Email/Messages feature contains a server‑side template injection (SSTI) flaw that allows any authenticated user with the “Messages” permission to supply unsandboxed Twig templates, which are then compiled and executed as raw code. By modifying Message content, an attacker can execute arbitrary PHP functions, read sensitive files, and potentially write to the filesystem, leading to full compromise of the application and underlying host. This vulnerability has been patched in thelia/twig-engine-module 1.0.9.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0047 40th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
TheliaThelia3.0.0—No fix listedCNA
  • Thelia VendorThelia Affected 3.0.0 Fixed in — No fix listed CNA

Remediation

Update thelia/twig-engine-module to version 1.0.9, which patches this vulnerability. The sources list no fixed version for Thelia.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

Timeline

  1. 2026-10-12 Threatist record created from CVE-2026-107248
  2. 2026-10-12 Alias added: GHSA-25fx-hhx2-xwq3
  3. 2026-10-16 CVSS score added · CISA ADP
  4. 2026-10-16 Weakness changed · CISA ADP
  5. 2026-10-16 CISA SSVC decision points changed
  6. 2026-10-16 Priority changed: LOW → MEDIUM

References

  • TI-2026-83555 Stored cross-site scripting in Thelia via coupon customer names CVSS 4.0HIGH 7.4
  • TI-2026-83574 Cross-site request forgery in Thelia back-office product combination routes CVSS 4.0MEDIUM 6.9
  • TI-2026-83557 CSRF in Thelia Page Module delete routes lets attackers remove images CVSS 4.0HIGH 7.0
  • TI-2026-83556 Thelia back office CSRF via leaked URL tokens and unprotected actions CVSS 4.0MEDIUM 5.9
  • TI-2026-71031 CSV formula injection in Thelia exports lets visitors run spreadsheet formulas CVSS 4.0LOW 2.3
  • TI-2026-71005 Thelia translation editor flaws allow remote code execution CVSS 3.1HIGH 8.8
See all 18 →

Sources