CVE-2024-58303
HIGH 8.6CVSS 4.0FoF Pretty Mail has a server-side template injection vulnerability
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.
- Published
- 11 Dec 2025
- Last modified
- 8 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-1336
- Also known as
- GHSA-947q-2xw3-gx9c
- Sources
- NVDJSONOSV GHSA-947q-2xw3-gx9cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.6 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | fof/pretty-mail | <= 1.1.2 |
References
- https://flarum.org/ · WEB
- https://github.com/FriendsOfFlarum/pretty-mail · PACKAGE
- https://www.exploit-db.com/exploits/51948 · WEB
- https://www.vulncheck.com/advisories/fof-pretty-mail-server-side-template-injection-via-email-template-settings · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-58303 · ADVISORY
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 11 Dec 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 12 Dec 2025)