{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "7.6.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "f0604ead5889bfed404d6f5e1a9205f945172c7e"
            },
            {
              "fixed": "69042ec969d30c52cb9ec9519af5e30a1ed26f46"
            }
          ],
          "repo": "https://github.com/lycheeorg/lychee",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-pgfr-x389-5p2h"
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-57568",
  "modified": "2026-10-17T02:30:44.307541431Z",
  "published": "2026-10-15T16:22:30.323Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/LycheeOrg/Lychee/releases/tag/v7.6.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57568.json"
    },
    {
      "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"
    },
    {
      "type": "FIX",
      "url": "https://github.com/LycheeOrg/Lychee/commit/f0604ead5889bfed404d6f5e1a9205f945172c7e"
    },
    {
      "type": "FIX",
      "url": "https://github.com/LycheeOrg/Lychee/pull/4377"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Lychee: Stored XSS via Markdown javascript: Links in Photo and Album Descriptions (Gallery View)"
}