CVE-2024-58303 json
FoF Pretty Mail 1.1.2 Server Side Template Injection via Email Template Settings
published 2025-12-11 10 mo ago modified 2026-10-08 31 d ago also GHSA-947q-2xw3-gx9c , EUVD-2024-55329
- cvss
- 8.6
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
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.
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 10 mo ago
Exploit prediction
0.54% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- exploit-db.com https://www.exploit-db.com/exploits/51948 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 4.0 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | fof/pretty-mail | <=1.1.2 |
no fix listed |
Affected products
- Flarum FriendsofFlarum Pretty Mail
Classification
- Weakness
-
- CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
References
-
exploit-db.com
/exploits/51948
exploit, web
-
flarum.org
/
product
-
github.com
/FriendsOfFlarum/pretty-mail
product, package
-
vulncheck.com
/advisories/fof-pretty-mail-server-side-template-injection-via-email-template-settings
third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2024-58303
advisory
-
flarum.org
web
Sources
- CVE List CVE-2024-58303
- GitHub Advisory GHSA-947q-2xw3-gx9c
- NVD CVE-2024-58303
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.