Skip to content

API tokens passed in query strings (security concern) #20

Description

@calmcacil

Description

Both Plex and Jellyfin API tokens are passed as URL query parameters rather than HTTP headers.

Locations

  • Plex: internal/streams/streams.goX-Plex-Token in query string
  • Jellyfin: internal/streams/streams.goapi_key in query string

Impact

URL query parameters are more likely to leak through:

  • Proxy/load balancer access logs
  • Server access logs
  • Browser history (if proxied)
  • ps output on shared systems

Fix

  • Jellyfin supports header-based auth via X-API-Key or Authorization: Bearer headers
  • Plex /status/sessions endpoint requires token in query string, but this should be documented as a known limitation

Priority

Medium — low likelihood of exposure in typical homelab setups, but good security hygiene.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions