# CVE-2024-58302: FoF Pretty Mail 1.1.2 Local File Inclusion via Email Template Settings

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.74%, higher than 78% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-11T21:40:09.699Z
- Modified: 2026-06-17T08:14:48.383Z
- Weaknesses: CWE-98
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

FoF Pretty Mail 1.1.2 contains a local file inclusion vulnerability that allows administrative users to include arbitrary server files in email templates. Attackers can exploit the template settings by inserting file inclusion payloads to read sensitive system files like /etc/passwd during email generation.

(As written by CVE List.)

## Affected

- Flarum FriendsofFlarum Pretty Mail: 1.1.2

## References

- <https://www.exploit-db.com/exploits/51947> (exploit)
- <https://flarum.org/> (product)
- <https://github.com/FriendsOfFlarum/pretty-mail> (product)
- <https://www.vulncheck.com/advisories/fof-pretty-mail-local-file-inclusion-via-email-template-settings> (third-party-advisory)

## Sources

- CVE List: [CVE-2024-58302](https://www.cve.org/CVERecord?id=CVE-2024-58302), CVE Terms of Use, modified 2026-04-07
- NVD: [CVE-2024-58302](https://nvd.nist.gov/vuln/detail/CVE-2024-58302), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-58302 · Whole record: https://cve.day/CVE-2024-58302.json · Rebuilt by cve.day 2026-11-25T22:58:52.939Z
