Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privileged Payload account
-
DeliveryUpload crafted XML with scripted stylesheet
-
ExploitStored in XML-accepting upload collection
-
ExecutionVictim user opens file
-
PersistJavaScript executes in Payload origin
-
ImpactHijack session / act as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an upload collection configured to accept XML files (i.e., local upload configurations permitting XML/XML-family MIME types, such as via allowRestrictedFileTypes or XML in the accepted types) - default configurations that reject restricted file types are not affected. The attacker must hold an authenticated account with upload permission to that collection (PR:L), and a separate logged-in user must subsequently open the stored malicious file for the payload to fire (UI:P). Limiting factors: the dependence on a non-default XML-accepting configuration, the need for valid authenticated upload access, and required victim interaction all constrain realistic exploitation to environments that deliberately permit XML uploads and have multiple active users. |
| Impact | This is a credible-but-conditional threat rather than a drop-everything emergency. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P) correctly signals that exploitation is network-reachable and low-complexity, but it also requires attacker privileges (PR:L - an authenticated account able to upload) and victim interaction (UI:P - a logged-in user must open the malicious file), which materially lowers real-world likelihood versus a true unauthenticated RCE. No EPSS score, KEV listing, or public POC was provided in the intelligence set, so there is no evidence of active exploitation - treat the 8.6 as a severity ceiling, not a probability signal. The VC:H/VI:H/VA:H claim is partially questionable: this is effectively stored cross-site-scripting (JavaScript executing in the Payload admin origin via a stored XML file + stylesheet), which strongly supports confidentiality and integrity impact (session/token theft, actions as the victim), but a genuine availability (VA:H) impact is not substantiated by the description - verify with the vendor advisory. Net: prioritize patching for any deployment that permits XML uploads, but it ranks below internet-facing unauthenticated flaws. |
| Exploit ScenarioDerived | An attacker with a low-privileged authenticated account on a Payload instance whose upload collection accepts XML files uploads a crafted XML document with an embedded stylesheet that carries JavaScript. When a logged-in administrator or other user later opens that stored file, the script executes in the Payload origin, allowing session/token theft or actions performed as the victim. No public exploit was identified at time of analysis, but the technique (XML/XSLT-driven script execution) is well understood and low-complexity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 06, 2026
Stored cross-site scripting / unrestricted file upload in Payload CMS lets an authenticated user with upload permission to an XML-accepting collection store an XML document (plus stylesheet) that executes JavaScript in the Payload origin when another logged-in user opens the file. Affected are all 3.x releases before 3.90.0 and canary/4.x builds before 4.0.0-canary.34, which the vendor fixed in the corresponding 3.90.0 and 4.0.0-canary.34 releases. Exploitation is conditional: it requires a non-default local upload configuration that permits XML/XML-family MIME types (for example via allowRestrictedFileTypes), a valid authenticated upload account, and a second user to open the stored file - there is no public exploit identified at time of analysis and the issue is not in CISA KEV, so this is a credible-but-conditional threat rather than a drop-everything emergency, though the CVSS 4.0 base score of 8.6 reflects high confidentiality/integrity/availability impact on the Payload origin.
RemediationAI
Vendor-released patch: upgrade to Payload 3.90.0 (or 4.0.0-canary.34 on the canary line) - the release is published at https://github.com/payloadcms/payload/releases/tag/v3.90.0. That version applies UPLOAD_CONTENT_SECURITY_POLICY to all XML-family MIME types in the static handler (not just image/svg+xml) and refuses client-side/direct-to-storage uploads whose filename or MIME type resolves to SVG or XML, routing them through server-side validation instead; if your deployment uses a custom static handler, adopt the newly exposed collection.upload.modifyResponseHeaders hook so the CSP header is preserved. Until you can upgrade, the most effective compensating control is to stop accepting XML/XML-family types in the upload collections: remove xml, application/xml, text/xml, application/xhtml+xml and any structured-suffix XML MIME types from accepted upload types and do not set allowRestrictedFileTypes, at the trade-off of breaking legitimate XML ingestion workflows in those collections. Serving uploads from a separate, non-Payload origin (separate hostname or CDN domain) also neutralizes same-origin script execution at the cost of cross-origin configuration and potential breakage of same-origin asset references. Note that reproduction requires an authenticated upload account plus a second user opening the file, so restricting upload permissions to trusted operators and reviewing existing XML assets in storage for injected script content reduce exposure but do not remove the underlying upload weakness - upgrade remains the only complete fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-434, unrestricted upload of a dangerous file type, combined in practice with an origin-context script execution primitive. Payload stores uploads and serves them back through a static handler; historically it attached a restrictive Content-Security-Policy (script-src 'none') only to image/svg+xml objects, leaving the broader XML family (application/xml, text/xml, application/xhtml+xml, and structured-suffix MIME types) served with no such policy. Because an XML file can reference or embed a stylesheet with script, a file uploaded into the Payload origin can execute JavaScript in that origin's context when a logged-in user views it, giving an authenticated attacker a path to session/credential abuse and administrative actions within the CMS. The upstream fix commit (a8c3a8e8e2680c96ecf66f5b3854c5df6c35adf) refactors the static handler to apply the shared UPLOAD_CONTENT_SECURITY_POLICY to every XML-family MIME type via an isXmlMimeType() check rather than only SVG, and exposes a collection.upload.modifyResponseHeaders hook so custom static handlers can adjust response headers. The same change adds a server-side gate, assertClientUploadAllowed()/assertClientUploadFileSize(), which rejects client (direct-to-storage) uploads whose filename extension or declared MIME type indicates SVG/XML - including sanitized trailing-period and MIME-parameter evasions - forcing those files through the Payload server, and pulls in the sax dependency for XML parsing/identity checks. Note the independent assessment scores this as CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N (scope-changed, no direct availability loss), which should be treated as the authoritative impact model; the published CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N.
Know when Payload gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Authenticated uploader (PR:L) and required victim interaction (UI:R); stored script executes in the admin origin affecting other users' sessions (S:C, C:H/I:H); no availability impact (A:N).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Payload is a free and open source headless content management system. In versions before 3.90.0 and canary versions before 4.0.0-canary.34, local upload configurations that accept XML files can store an XML file and stylesheet that execute JavaScript in the Payload origin when a logged-in user opens the file. This issue is fixed in versions 3.90.0 and 4.0.0-canary.34.
Blast Radius
ecosystem impact- 2 npm packages depend on payload (2 direct, 0 indirect)
Ecosystem-wide dependent count for version 4.0.0-canary.0.
Technical POC Analysis
Evidence base: GitHub advisory GHSA-9qpg-3cf8-w33x only.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Payload CMS deployments running 3.x below 3.90.0, or canary/4.x builds below 4.0.0-canary.34, can be abused by a user who already holds upload rights to plant an XML file that executes code in the CMS admin origin for any colleague who later opens it - putting administrative sessions, stored content, and publishing integrity for that system at risk. Exploitation is conditional: it requires a non-default upload configuration that permits XML/XML-family MIME types, a privileged upload account, and a second user to open the stored file, and no public exploit identified at time of analysis, so this is a credible but conditional exposure rather than an active incident. Leadership should care because the CMS is frequently the content backbone for customer-facing and internal publishing, and compromise of its origin can cascade into brand, data-integrity, and downstream application trust issues.
Apply vendor patch (Payload CMS 3.90.0 for 3.x, 4.0.0-canary.34 for canary/4.x) where obtainable. If the fixed versions cannot be deployed immediately, disable XML and XML-family MIME upload types (including removal of allowRestrictedFileTypes allowances), restrict upload permissions to least-privilege accounts, serve uploaded files from a separate origin with a forced attachment disposition so content cannot execute in the Payload origin, and monitor for XML file uploads and subsequent file opens.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
An arbitrary file upload vulnerability in the file upload module of PayloadCMS v0.15.0 allows attackers to execute arbit
Prototype pollution in Payload CMS's @payloadcms/plugin-import-export module lets an unauthenticated remote attacker sub
Field-level access control can be bypassed in Payload CMS's document duplicate operation, letting a caller with access t
Duplicate order processing in @payloadcms/plugin-ecommerce allows remote, unauthenticated attackers to have a single Str
Malformed multipart request bodies sent to Payload CMS versions 3.0.0 through 3.89.x and 4.0.0-canary.0 through 4.0.0-ca
API key disclosure in Payload CMS lets an authenticated user with ordinary read access to other users' authentication do
Authenticated users who can update an auth collection document in Payload CMS can change the password field on that docu
Payload CMS versions before 3.90.0 and canary versions before 4.0.0-canary.34 contain an authorization bypass in relatio
Unauthorized read access to stored form submissions and form email configuration in Payload CMS deployments running the
Payload CMS releases before 3.90.0 (and canary builds before 4.0.0-canary.34) expose an orderable reorder endpoint that
Payload CMS prior to 3.73.0 has a SQL injection vulnerability when querying structured data, enabling database compromis
SQL injection in Payload CMS 3.0.0 through before 3.88.0 (and 4.0.0-canary builds before 4.0.0-canary.27) allows remote
EUVD-2026-93514
GHSA-9qpg-3cf8-w33x
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB