CVE-2024-58303: Vulnerability in fof/pretty-mail
Patch soon. FoF Pretty Mail 1.1.2 contains a server-side template injection vulnerability that allows administrative users to inject malicious code into email templates. Attackers can execute system commands by inserting crafted template expressions that trigger arbitrary code execution during email generation.
Packagist, CWE-1336
- Exploitation
- None confirmed
- Severity
- 8.6 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-947q-2xw3-gx9c
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Weakness
- CWE-1336
- Published
- 11 Dec 2025
- Last change
- 8 Oct 2026
- Ecosystem
- Packagist
Affected packages
Vulnerable version ranges and fixed releases
- fof/pretty-mail Packagist, Affected through 1.1.2. No fixed version recorded
Advisories
Vendor and security advisories
- flarum.org
- github.com/FriendsOfFlarum/pretty-mail
- vulncheck.com/advisories/fof-pretty-mail-server-side-template-injection-via-email-templ...
Exploit code
Public exploits and proofs of concept, handle with care