{"id":"CVE-2026-57568","revision":"d1c9f818fbf146c3bc6d56ff42c27235","records":[{"revision":"d1c9f818fbf146c3bc6d56ff42c27235","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-57568","aliases":[],"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.","state":0,"publishedAt":"2026-10-15T16:22:30.323+00:00","modifiedAt":"2026-10-16T17:13:21.565+00:00","affected":[{"ecosystem":"Vendor product","name":"Lychee","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"LycheeOrg\",\n                    \"product\": \"Lychee\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 7.6.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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","score":5.7,"severity":"MEDIUM"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-57568","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-57568","identifiers":["CVE-2026-57568"]},"retained":false,"historicalAffected":[]}],"coverage":[]}