---
id: CVE-2026-111168
title: >-
  LibreDesk before 2.9.0-rc.8 contains a stored cross-site scripting
  vulnerability that allows authenticated agents to execute script by uploading
  SVGs with malformed Content-Type parameters
summary: >-
  LibreDesk before 2.9.0-rc.8 contains a stored cross-site scripting
  vulnerability that allows authenticated agents to execute script by uploading
  SVGs with malformed Content-Type parameters. Attackers can upload an SVG typed
  'image/svg+xm…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: abhinavxd
product: libredesk
affected:
  - libredesk < 2.9.0-rc.8
published: '2026-10-15'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T19:17:32.827'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-111168'
references:
  - url: 'https://github.com/abhinavxd/libredesk'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/abhinavxd/libredesk/blob/086b08200d667f2cc083635e925d6f5e7b0097e3/cmd/media.go#L255-L272
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/abhinavxd/libredesk/blob/086b08200d667f2cc083635e925d6f5e7b0097e3/internal/media/media.go#L422-L433
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/abhinavxd/libredesk/commit/ab3a5ca682fcc1caec0950fc607b66caea49bec3
    label: disclosure@vulncheck.com
  - url: 'https://github.com/abhinavxd/libredesk/pull/641'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/abhinavxd/libredesk/releases/tag/v2.9.0-rc.8'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/libredesk-before-2.9.0-rc.8-stored-xss-via-svg-upload-content-type-parameter
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-15T19:25:46.424Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-15T19:40:35.337819Z'
---

## Overview

LibreDesk before 2.9.0-rc.8 contains a stored cross-site scripting vulnerability that allows authenticated agents to execute script by uploading SVGs with malformed Content-Type parameters. Attackers can upload an SVG typed 'image/svg+xml; x' via /api/v1/media so GET /uploads/{uuid} serves it inline without sandbox, running script in any viewing agent's or administrator's session.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
