{"id":"CVE-2024-58303","published":"2025-12-11T21:40:26Z","modified":"2026-10-08T15:21:10Z","title":"FoF Pretty Mail 1.1.2 Server Side Template Injection via Email Template Settings","vendor":"Flarum","product":"FriendsofFlarum Pretty Mail","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02513,"percentile":0.85498,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://www.exploit-db.com/exploits/51948","tags":["exploit"]},{"url":"https://flarum.org/","tags":["product"]},{"url":"https://github.com/FriendsOfFlarum/pretty-mail","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/fof-pretty-mail-server-side-template-injection-via-email-template-settings","tags":["third-party-advisory"]}],"priority":{"score":28.1,"factors":[{"name":"EPSS percentile","points":17.1},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.02}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2024-04-02"},"first":{"date":"2024-04-02","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/51948"},"provenance":"source"},"vendorSlug":"flarum","affectedVersions":[{"vendor":"Flarum","product":"FriendsofFlarum Pretty Mail","versions":["1.1.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-12-18T21:35:25.679403Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"fof/pretty-mail","vulnerableRanges":["<=1.1.2"],"patched":[],"from":["GHSA-947q-2xw3-gx9c"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-55329","exploited":false,"provenance":"source"},"exploits":[{"id":51948,"url":"https://www.exploit-db.com/exploits/51948","title":"Flarum FoF Pretty Mail 1.1.2 - Authenticated Server-Side Template Injection (SSTI) / Remote Code Execution (RCE)","date":"2024-04-02","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/51948"]}