Vulnerability · Published Dec 11, 2025 · Assigned by VulnCheck

CVE-2024-58303FoF Pretty Mail 1.1.2 Server Side Template Injection via Email Template Settings

High 8.6

In plain English

A high-severity security flaw in FriendsofFlarum Pretty Mail from Flarum. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities).

Severity (CVSS 4.0)8.6High
Exploit odds (30 days)0.5%top 54.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistfof/pretty-mailno fix listedGHSA-947q-2xw3-gx9c

Affected products (as reported)

VendorProductVersions
Flarum FriendsofFlarum Pretty Mail 1.1.2

Weakness: CWE-1336 · 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

References