CVE-2026-34748 — @payloadcms/next has Stored XSS in @payloadcms/next
@payloadcms/next has Stored XSS in Admin Panel
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.38%). Schedule for your next planned update.
Does your project use an affected @payloadcms/next version?
Paste your package-lock.json to check it for CVE-2026-34748 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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
createorupdateaccess 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
createandupdateaccess to versioned collections to trusted roles only.
Advisory Timeline
- First published April 1, 2026 (239 days ago).
- Last revised April 6, 2026 — 5 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install @payloadcms/next@3.78.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: npm (1).
| Package | Fixed In |
|---|---|
| @payloadcms/next npm · Affected: All versions | 3.78.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.7 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
References
Frequently Asked Questions
- What is CVE-2026-34748?
- @payloadcms/next has Stored XSS in Admin Panel. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.7/10).
- How do I check if my project is affected by CVE-2026-34748?
- CVE-2026-34748 affects @payloadcms/next. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-34748 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 24.1% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-34751CRITICAL
Payload: Pre-Authentication Account Takeover via Parameter Injection in Password Recovery
- CVE-2026-105844CRITICAL
Payload: Prototype pollution in Payload Import Export plugin
- CVE-2026-105857CRITICAL
Payload Form Builder has an RCE issue
- CVE-2026-25544CRITICAL
@payloadcms/drizzle has SQL Injection in JSON/RichText Queries on PostgreSQL/SQLite Adapters
- CVE-2026-83816HIGH
CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE
- CVE-2026-105850HIGH
Payload Ecommerce has an order confirmation validation issue
- CVE-2026-63316HIGH
Payload: SQL injection in SQLite/Postgres
- CVE-2026-105848MEDIUM
Payload: Insufficient Access Control in Stripe REST Proxy