{"id":"CVE-2026-57568","summary":"Lychee: Stored XSS via Markdown javascript: Links in Photo and Album Descriptions (Gallery View)","details":"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.","aliases":["GHSA-pgfr-x389-5p2h"],"modified":"2026-10-16T02:47:59.758320687Z","published":"2026-10-15T16:22:30.323Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57568.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57568.json"},{"type":"FIX","url":"https://github.com/LycheeOrg/Lychee/commit/f0604ead5889bfed404d6f5e1a9205f945172c7e"},{"type":"FIX","url":"https://github.com/LycheeOrg/Lychee/pull/4377"},{"type":"WEB","url":"https://github.com/LycheeOrg/Lychee/releases/tag/v7.6.0"},{"type":"ADVISORY","url":"https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-pgfr-x389-5p2h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57568"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/lycheeorg/lychee","events":[{"introduced":"0"},{"fixed":"69042ec969d30c52cb9ec9519af5e30a1ed26f46"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"7.6.0"}],"source":"AFFECTED_FIELD"}}],"versions":["v7.5.4","v7.5.3","v7.5.2","v7.5.1","v7.5.0","v7.4.2","v7.4.1","v7.4.0","v7.3.3","v7.3.2","v7.3.1","v7.3.0","v7.2.1","v7.2.0","v7.1.2","v7.1.1","v7.1.0","v7.0.1","v7.0.0","v6.10.4","v6.10.3","v6.10.2","v6.10.1","v6.10.0","v6.9.4","v6.9.3","v6.9.2","v6.9.1","v6.9.0","v6.8.1","v6.8.0","v6.7.2","v6.7.1","v6.7.0","v6.6.14","v6.6.13","v6.6.12","v6.6.11","v6.6.10","v6.6.9","v6.6.8","v6.6.7","v6.6.6","v6.6.5","v6.6.4","v6.6.3","v6.6.2","v6.6.1","v6.6.0","v6.5.3","v6.5.2","v6.5.1","v6.5.0","v6.4.2","v6.4.1","v6.4.0","v6.3.5","v6.3.4","v6.3.3","v6.3.2","v6.3.1","v6.3.0","v6.2.0","v6.1.2","v6.1.1","v6.1.0","v6.0.1","v6.0.0","v5.5.1","v5.5.0","v5.4.0","v5.3.1","v5.3.0","v5.2.2","v5.2.1","v5.2.0","v5.1.2","v5.1.1","v5.1.0","v5.0.3","v5.0.2","v5.0.1","v5.0.0","v5.0.0-beta","v4.13.0","v4.12.0","v4.11.1","v4.11.0","v4.10.0","v4.9.4","v4.9.3","v4.9.3-RC","v4.9.2","v4.9.1","v4.9.0","v4.8.1","v4.8.0","v4.7.4","v4.7.3","v4.7.2","v4.7.1","v4.7.0","v4.6.5","v4.6.4","v4.6.3-RC1","v4.6.2","v4.6.2-RC2","v4.6.2-RC1","v4.6.1-RC2","v4.6.1","v4.6.1-RC1","v4.6.0","v4.6.0-RC3","v4.6.0-RC2","v4.6.0-RC","v4.5.3","v4.5.2","v4.5.1","v4.5.0","v4.4.0","v4.3.6","v4.3.5","v4.3.4","v4.3.0","v4.2.2","v4.2.1","v4.2.0","v4.1.0","v4.0.8","v4.0.7","v4.0.6","v4.0.5","v4.0.4","v4.0.3","v4.0.2","v4.0.1","v4.0.0","v4.0.0-beta.2","v4.0.0-beta.1","v4.0.0-alpha.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57568.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}