Skip to main content

CVE-2026-34748 — @payloadcms/next has Stored XSS in @payloadcms/next

HIGH

@payloadcms/next has Stored XSS in Admin Panel

Published April 1, 2026Updated April 6, 2026Source: OSV

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.

Check my package-lock.json

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 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.

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
Update @payloadcms/next to 3.78.0 or later
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).

PackageFixed In
@payloadcms/next npm · Affected: All versions3.78.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.7 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

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

CVSS Score
8.7

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.38%
EPSS percentile: 24.1

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

GHSA-mmxc-95ch-2j7c

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my package-lock.json