Medium severity · published Oct 15, 2026
CVE-2026-57568
Lychee: Stored XSS via Markdown javascript: Links in Photo and Album Descriptions (Gallery View)
5.7
CVSS
0.3%
EPSS
No
On KEV
Description
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 20% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LY
Lychee · LycheeOrg
< 7.6.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-57568
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-57568
github.com
https://github.com/LycheeOrg/Lychee/commit/f0604ead5889bfed404d6f5e1a9205f945172c7e
github.com
https://github.com/LycheeOrg/Lychee/pull/4377
github.com
https://github.com/LycheeOrg/Lychee/releases/tag/v7.6.0
github.com
https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-pgfr-x389-5p2h
More from Lychee
9.8
CVE-2023-52082
Lychee is a free photo-management tool
8.9
CVE-2026-62679
Lychee: Path traversal in `SecurePathController` allows authenticated arbitrary file read
8.3
CVE-2026-77466
Lychee: Webshop payment bypass via unrestricted "Dummy" gateway selection
8.3
CVE-2026-77470
Lychee: Webshop checkout lets the client override the payment `amount` sent to the gateway via malicious crafted POST request
8.3
CVE-2024-25808
Cross-site Request Forgery (CSRF) vulnerability in Lychee version 3.1.6, allows remote attackers to execute arbitrary code via the create new album function
