friendsofflarum/pretty-mail · Security
FoF Pretty Mail has a server-side template injection vulnerability
- GHSA ID
- GHSA-947q-2xw3-gx9c
- CVE ID
- CVE-2024-58303
- Severity
- high
- Published
- Updated
- CVSS v4
- 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
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.
CWEs
- CWE-1336 · Improper Neutralization of Special Elements Used in a Template Engine
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-58303 ↗
- https://flarum.org ↗
- https://github.com/FriendsOfFlarum/pretty-mail ↗
- https://www.exploit-db.com/exploits/51948 ↗
- https://www.vulncheck.com/advisories/fof-pretty-mail-server-side-template-injection-via-email-template-settings ↗
- https://github.com/advisories/GHSA-947q-2xw3-gx9c ↗