{"id":"GHSA-mmxc-95ch-2j7c","summary":"@payloadcms/next has Stored XSS in Admin Panel","details":"### Impact\n\nA stored Cross-site Scripting (XSS) vulnerability existed in the admin panel. An authenticated user with write access to a collection could save content that, when viewed by another user, would execute in their browser.\n\nConsumers are affected if ALL of these are true:\n\n- Payload version **\u003c v3.78.0**\n- At least one collection with versions enabled\n- An authenticated user has `create` or `update` access to that collection\n\n### Patches\n\nThis vulnerability has been patched in **v3.78.0**. Output encoding has been added to prevent user-supplied content from being interpreted as markup.\n\nUsers should upgrade to **v3.78.0** or later.\n\n### Workarounds\n\nIf consumers cannot upgrade immediately:\n\n- Restrict `create` and `update` access to versioned collections to trusted roles only.","aliases":["CVE-2026-34748"],"modified":"2026-04-06T17:05:23.541316Z","published":"2026-04-01T21:24:22Z","database_specific":{"nvd_published_at":"2026-04-01T20:16:27Z","cwe_ids":["CWE-79"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-04-01T21:24:22Z"},"references":[{"type":"WEB","url":"https://github.com/payloadcms/payload/security/advisories/GHSA-mmxc-95ch-2j7c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34748"},{"type":"PACKAGE","url":"https://github.com/payloadcms/payload"}],"affected":[{"package":{"name":"@payloadcms/next","ecosystem":"npm","purl":"pkg:npm/%40payloadcms/next"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.78.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-mmxc-95ch-2j7c/GHSA-mmxc-95ch-2j7c.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"}]}