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.
Published: 2026-10-15
Score: 5.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored XSS
Action: Immediate Patch
AI Analysis

Impact

A user who has the right to edit an album or photo may insert a Markdown link that points to a javascript: URI in the description. When the gallery view renders that description, the link is converted to safe HTML and displayed with v-html. Clicking the link causes the attacker’s script to run in the Lychee origin, potentially exposing session data or enabling authenticated requests on behalf of the victim. This flaw can be exploited via a stored payload that is rendered when anybody views the album or photo.

Affected Systems

All installations of Lychee before version 7.6.0 that have config/markdown.php set to allow_unsafe_links. Only accounts with album‑edit permissions can create the vulnerable content, but any visitor—including unauthenticated users—to a public album can trigger the JavaScript execution when they click the rendered link.

Risk and Exploitability

The CVSS score of 5.7 indicates moderate severity. The EPSS score of <1% shows the likelihood of exploitation is very low, and the vulnerability is not listed in CISA’s KEV catalogue. Nevertheless, the exploit path requires no special access beyond album‑edit rights and can affect anyone who visits a public album, making the risk realistic for widely shared galleries. The attack is performed by clicking the link in the stored description, a very simple and typical user action.

Generated by OpenCVE AI on October 16, 2026 at 20:13 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Lychee to version 7.6.0 or later, which removes the unsafe markdown link rendering.
  • Restrict album‑edit permissions to trusted users to reduce the chance of malicious payloads being stored.
  • In the meantime, disable allow_unsafe_links in config/markdown.php and remove any existing javascript: links from photo or album descriptions.

Generated by OpenCVE AI on October 16, 2026 at 20:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 17 Oct 2026 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Lycheeorg
Lycheeorg lychee
Vendors & Products Lycheeorg
Lycheeorg lychee

Fri, 16 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 15 Oct 2026 16:45:00 +0000

Type Values Removed Values Added
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.
Title Lychee: Stored XSS via Markdown javascript: Links in Photo and Album Descriptions (Gallery View)
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 5.7, 'vector': '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'}


Subscriptions

Lycheeorg Lychee
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-16T17:13:21.565Z

Reserved: 2026-06-24T18:49:56.207Z

Link: CVE-2026-57568

cve-icon Vulnrichment

Updated: 2026-10-15T20:24:42.619Z

cve-icon NVD

Status : Deferred

Published: 2026-10-15T17:17:23.880

Modified: 2026-10-16T18:17:58.887

Link: CVE-2026-57568

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T19:00:13Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')