---
id: CVE-2026-57568
title: 'Lychee is a free, open-source photo-management tool'
summary: >-
  Lychee is a free, open-source photo-management tool. Prior to 7.6.0, Lychee
  permits an authenticated user with album-edit permissions to store a
  javascript URI in an album or photo Markdown description because
  config/markdown.php enables…
severity: medium
cvss: 5.7
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'
cwe:
  - CWE-79
vendor: LycheeOrg
product: Lychee
affected:
  - Lychee < 7.6.0
published: '2026-10-15'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T17:17:23.880'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-57568'
references:
  - url: >-
      https://github.com/LycheeOrg/Lychee/commit/f0604ead5889bfed404d6f5e1a9205f945172c7e
    label: security-advisories@github.com
  - url: 'https://github.com/LycheeOrg/Lychee/pull/4377'
    label: security-advisories@github.com
  - url: 'https://github.com/LycheeOrg/Lychee/releases/tag/v7.6.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-pgfr-x389-5p2h
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
cvssSource: cna
ingestedAt: '2026-10-15T17:18:20.098Z'
---

## Overview

Lychee is a free, open-source photo-management tool. Prior to 7.6.0, Lychee permits an authenticated user with album-edit permissions to store a javascript URI in an album or photo Markdown description because config/markdown.php enables allow_unsafe_links. app/Http/Resources/Models/Utils/PreformattedPhotoData.php and app/Http/Resources/Models/Utils/PreFormattedAlbumData.php convert the description to HTML, and the gallery components PhotoDetails.vue, Overlay.vue, PhotoThumb.vue, AlbumHero.vue, and AlbumCard.vue render that HTML with v-html. A visitor, including an unauthenticated visitor to a public album, who clicks the rendered link executes attacker-controlled JavaScript in the Lychee origin, which can expose session data or enable authenticated requests in the victim's context. This gallery-view flaw is distinct from CVE-2026-33738, which addressed feed rendering. This issue is fixed in version 7.6.0.

## Remediation

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