GitHub Advisoryadvisory · npm
GHSA-mmxc-95ch-2j7c @payloadcms/next has Stored XSS in Admin Panel
HIGH
Official page ↗
- Aliases
- CVE-2026-34748
- Ecosystem
- npm
- Packages
- @payloadcms/next
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2026-04-01
Affected packages
• npm @payloadcms/next: < 3.78.0 → fixed in 3.78.0
Description
Impact
A 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.
Consumers are affected if ALL of these are true:
• Payload version < v3.78.0
• At least one collection with versions enabled
• An authenticated user has `create` or `update` access to that collection
Patches
This vulnerability has been patched in v3.78.0. Output encoding has been added to prevent user-supplied content from being interpreted as markup.
Users should upgrade to v3.78.0 or later.
Workarounds
If consumers cannot upgrade immediately:
• Restrict `create` and `update` access to versioned collections to trusted roles only.
Related
Alias · CVE (1)
- CVE-2026-34748 Payload is a free and open source headless content management system. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness