{"id":"CVE-2026-57568","state":"PUBLISHED","title":"Lychee: Stored XSS via Markdown javascript: Links in Photo and Album Descriptions (Gallery View)","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.","publishedAt":"2026-10-15T16:22:30.323Z","updatedAt":"2026-10-16T17:13:21.565Z","severity":{"score":5.7,"label":"Medium","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["LycheeOrg Lychee"],"affected":[{"vendor":"LycheeOrg","product":"Lychee","versions":[{"version":"< 7.6.0","status":"affected"}]}],"references":["https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-pgfr-x389-5p2h","https://github.com/LycheeOrg/Lychee/pull/4377","https://github.com/LycheeOrg/Lychee/commit/f0604ead5889bfed404d6f5e1a9205f945172c7e","https://github.com/LycheeOrg/Lychee/releases/tag/v7.6.0"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/57xxx/CVE-2026-57568.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-57568","state":"PUBLISHED","datePublished":"2026-10-15T16:22:30.323Z","dateUpdated":"2026-10-16T17:13:21.565Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-24T18:49:56.207Z"},"containers":{"cna":{"title":"Lychee: Stored XSS via Markdown javascript: Links in Photo and Album Descriptions (Gallery View)","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"LycheeOrg","product":"Lychee","versions":[{"version":"< 7.6.0","status":"affected"}]}],"references":[{"url":"https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-pgfr-x389-5p2h","name":"https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-pgfr-x389-5p2h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/LycheeOrg/Lychee/pull/4377","name":"https://github.com/LycheeOrg/Lychee/pull/4377","tags":["x_refsource_MISC"]},{"url":"https://github.com/LycheeOrg/Lychee/commit/f0604ead5889bfed404d6f5e1a9205f945172c7e","name":"https://github.com/LycheeOrg/Lychee/commit/f0604ead5889bfed404d6f5e1a9205f945172c7e","tags":["x_refsource_MISC"]},{"url":"https://github.com/LycheeOrg/Lychee/releases/tag/v7.6.0","name":"https://github.com/LycheeOrg/Lychee/releases/tag/v7.6.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"ACTIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.7,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-15T16:22:30.323Z"},"source":{"advisory":"GHSA-pgfr-x389-5p2h","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-15T20:24:41.497357Z","id":"CVE-2026-57568","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T17:13:21.565Z"}}]}}}