Critical · 9.1 PHP packages GHSA-743w-g9pf-8p94 CVE-2026-69178 PKSA-k5g8-y62m-m5q3 GHSA-7wwv-x6mc-pxqx
TastyIgniter Mail Template Editor Vulnerable to Server-Side Template Injection Leading to Remote Code Execution
A server-side template injection vulnerability in TastyIgniter's admin mail template editor allows an authenticated admin user to execute arbitrary PHP code on the server. The issue is fixed in version 4.3.1.
By PatchBriefing · ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
TastyIgniter, an open-source e-commerce and restaurant ordering platform, is affected by a server-side template injection (SSTI) vulnerability in its admin mail template editor. The flaw allows a user with specific administrative permissions to inject template code that is executed as PHP on the server, resulting in full remote code execution. A fixed version has been released.
What happened
The mail template editor in TastyIgniter's admin panel does not properly validate or sanitize input submitted to the template body field. An admin user with the appropriate permission for mail templates can submit template syntax that is executed as PHP code when the template is tested or rendered, resulting in arbitrary command execution on the server.
Technical cause
The vulnerability is classified as CWE-1336, improper neutralization of special elements used in a template engine. The admin mail template edit endpoint accepts template content without sufficient sanitization, allowing template directives (such as those supported by the underlying templating engine) to be used to invoke PHP functions, including shell command execution, when the template is processed by a test-handler request.
Why it matters
Successful exploitation results in arbitrary PHP code execution on the server hosting TastyIgniter, which can lead to full compromise of the application and potentially the underlying host, including access to data, configuration, and further lateral movement. The vulnerability has a CVSS base score of 9.1, reflecting its critical impact on confidentiality, integrity, and availability, combined with a changed scope.
Who is affected
Organizations running the TastyIgniter platform in versions before 4.3.1 are affected. Exploitation requires an account with admin-level access and the specific permission to manage mail templates; this is not an unauthenticated vulnerability, but any environment where multiple administrators have varying trust levels or where admin credentials could be compromised should treat this as a serious risk.
Affected versions
All versions of tastyigniter/tastyigniter prior to 4.3.1 are affected. The issue is resolved in version 4.3.1.
Fixes and mitigation
The vendor has released version 4.3.1 of tastyigniter/tastyigniter, which addresses the input validation and sanitization issue in the mail template editor.
Recommended action
Update tastyigniter/tastyigniter to version 4.3.1 as soon as possible. Until the update is applied, restrict the mail template management permission to the smallest possible set of fully trusted administrators, and review which accounts currently hold this permission.
PatchBriefing score
9.1 / 10 · Critical
Official CVSS: 9.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
- tastyigniter/tastyigniter < 4.3.1
- vulnerable
- tastyigniter/tastyigniter <4.3.1
- vulnerable
- ≥ 4.3.1
- patched
- tastyigniter/tastyigniter < 4.3.1
- vulnerable
- tastyigniter/tastyigniter <4.3.1
- vulnerable
- ≥ 4.3.1
- patched
Reported fixes
The vendor has released version 4.3.1 of tastyigniter/tastyigniter, which addresses the input validation and sanitization issue in the mail template editor.
How this was built
4 source records were collected, matched and used to prepare the report above.
-
GitHub Advisory Database database
-
GitHub Advisory Database database
-
Packagist Security Advisories registry
-
Packagist Security Advisories registry
Revision history
- Published
- Generated
- Published
- Early Warning