Skip to content

Episeerr v4.1.2

Latest

Choose a tag to compare

@Vansmak Vansmak released this 28 Nov 23:06

🔒 Security

  • The same art-proxy SSRF/reflected-content-type pattern fixed in v4.1.1 for Sonos was also present in the Emby, Jellyfin, and Plex integrations, each with its own copy-pasted /art?url=... route. Emby's and Jellyfin's had no host validation at all (not even v4.1.1's weak denylist), and Jellyfin's additionally attached the configured Jellyfin API key as a request header to whatever URL was supplied — meaning a crafted link could have exfiltrated it to an attacker-controlled server. Plex's had a port-only allowlist (32400/32469/443/80), which doesn't stop SSRF to another internal service on one of those ports and did nothing for the content-type angle. Fixed by extracting a single shared, reviewed implementation (episeerr_utils.media_art_proxy) all four integrations now call: a private/loopback/reserved target is only allowed if it matches that integration's own configured server, Content-Type must start with image/, and X-Content-Type-Options: nosniff is set. (episeerr_utils.py, integrations/emby.py, integrations/jellyfin.py, integrations/plex.py)


☕ If Episeerr saves you time, you can support development at https://buymeacoffee.com/vansmak