This CVE reveals a dangerous pattern: a convenience feature designed to make emails look polished became an unintended SSRF and file exfiltration primitive. The EULA text field — a low-privilege user-editable field — flows through Snipe-IT's markdown rendering into the mail library's auto-embed feature, which fetches resources server-side before the email is sent. That means the server becomes an unwilling proxy, retrieving attacker-supplied URLs and attaching the results to emails the attacker receives. In the confirmed proof-of-concept, a low-privilege user injects a reference to the server's .env file, and the mail library fetches it and attaches it to the outgoing email — credentials, API keys, and all.
The critical insight is that this isn't a single sanitization failure. It's a systemic misalignment: the mail library's auto-embed assumes trusted input, but Snipe-IT feeds it untrusted content from a field that low-privilege users can edit. The privilege model assumes user input only affects the user's own experience — but the auto-embed happens server-side, breaking that boundary silently.
What you should do: audit your Snipe-IT deployment (or any asset management system using markdown rendering + email) for other fields that feed into auto-embed or similar server-side resource-fetching features. The 8.7.0 patch likely sanitizes the EULA field specifically, but the architectural question is whether ALL markdown rendering in your deployment now treats user-editable content as untrusted — or just the one field someone reported. Check custom fields, asset notes, and any admin-set content that low-privilege users can trigger in email or PDF export contexts. If your deployment exposes any other markdown-rendered fields that flow through resource-fetching libraries, those are likely equivalent injection vectors.
Watch for this pattern in other PHP applications using similar mail libraries: the recurrence rate is high because each integration assumes its context is different. The fix isn't just patching a field — it's establishing a policy that any user-editable content rendered in high-privilege contexts (email generation, PDF exports, admin dashboards) must be treated as untrusted input, full stop.