CVE-2024-58303
8.6high
FoF Pretty Mail 1.1.2 Server Side Template Injection via Email Template Settings
- Severity
- 8.6high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 1.78% (higher than 78% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-947q-2xw3-gx9c
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Flarum FriendsofFlarum Pretty Mail | 1.1.2 | CVE List |
| fof/pretty-mail (Packagist) | up to 1.1.2 | GitHub Advisory Database |
All scores
| VulnCheck | 8.6high CVSS:4.0 | 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 |
| GitHub | high CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
| https://www.exploit-db.com/exploits/51948 | exploit, web | |
| https://flarum.org/ | product | |
| https://github.com/FriendsOfFlarum/pretty-mail | package, product | |
| https://www.vulncheck.com/advisories/fof-pretty-mail-server-side-template-injection-via-email-template-settings | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-58303 | advisory | |
| https://flarum.org | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-58303 changed 2026-10-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-947q-2xw3-gx9c changed 2025-12-12 | CC-BY-4.0 |
| NVD | CVE-2024-58303 changed 2026-10-08 | Public domain |