mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 16:13:15 +00:00
`/api/favicon` is unauthenticated and answers on the webmail origin, and it passed the upstream Content-Type through unchecked. Should the favicon service ever return `image/svg+xml` or `text/html`, opening that URL on its own would run script as the webmail. Only raster image types are served now, with `nosniff` and a sandboxing CSP; anything else falls back to the transparent placeholder.