@payloadcms/next
Affected
- introduced
0, fixed3.78.0(semver)
Fixed versions
3.78.0
Fix
- Fixed version
3.78.0npm install @payloadcms/[email protected]
Advisory
Also known as: CVE-2026-34748
@payloadcms/next has Stored XSS in Admin Panel
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:
create or update access to that collectionPatches
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:
create and update access to versioned collections to trusted roles only.High Basis: The source's own band: HIGH
0, fixed 3.78.0 (semver)3.78.0
3.78.0npm install @payloadcms/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0