What’s Vulnerable › Vulnerabilities

CVE-2026-23845: Mailpit Vulnerable to Server-Side Request Forgery (SSRF) via HTML Check API

Description

Mailpit is an email testing tool and API for developers. Versions prior to 1.28.3 are vulnerable to Server-Side Request Forgery (SSRF) via HTML Check CSS Download. The HTML Check feature (`/api/v1/message/{ID}/html-check`) is designed to analyze HTML emails for compatibility. During this process, the `inlineRemoteCSS()` function automatically downloads CSS files from external `<link rel="stylesheet" href="...">` tags to inline them for testing. Version 1.28.3 fixes the issue.

Affected products

How to fix

Upgrade to a fixed version: axllent mailpit 1.28.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-23845 or the next vulnerability affects your stack