High
FoF Pretty Mail 1.1.2 Server Side Template Injection via Email Template Settings
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-58303
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 02:36 UTC · Revision 1
Source evidence
FoF Pretty Mail 1.1.2 Server Side Template Injection via Email Template Settings
core-osv · Original sourcePublished 11 Dec 2025, 21:40 UTC
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.
osv:CVE-2024-58303
Complete source record
{
"id": "a3e3160519258a690a34d342ad08517d2ec71793979f5c559ddcf3aeeeaa9b16",
"url": "https://osv.dev/vulnerability/CVE-2024-58303",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "FoF Pretty Mail 1.1.2 Server Side Template Injection via Email Template Settings",
"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.",
"evidence": "osv:CVE-2024-58303",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-58303",
"aliases": [
"CVE-2024-58303",
"GHSA-947q-2xw3-gx9c"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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": [
{
"ranges": [
{
"repo": "https://github.com/friendsofflarum/pretty-mail",
"type": "GIT",
"events": [
{
"introduced": "5440ba9224446d6b478639a4407c661e3d4dbd46"
},
{
"last_affected": "5440ba9224446d6b478639a4407c661e3d4dbd46"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "1.1.2"
},
{
"last_affected": "1.1.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
}
],
"versions": [
"1.1.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58303.json"
}
}
],
"modified": "2026-10-28T02:30:49.043752259Z",
"provider": "osv",
"references": [
"https://flarum.org/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58303.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-58303",
"https://www.vulncheck.com/advisories/fof-pretty-mail-server-side-template-injection-via-email-template-settings",
"https://github.com/FriendsOfFlarum/pretty-mail",
"https://www.exploit-db.com/exploits/51948"
],
"provider_metadata": {
"cwe_ids": [
"CWE-1336"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58303.json"
}
},
"related_cves": [
{
"value": "CVE-2024-58303",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 517414,
"published_at": "2025-12-11T21:40:26.839+00:00"
}