Skip to main content

Payload CMS EUVDEUVD-2026-93514

| CVE-2026-105868 HIGH
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-10-06 GitHub_M GHSA-9qpg-3cf8-w33x
8.6
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privileged Payload account
  2. Delivery
    Upload crafted XML with scripted stylesheet
  3. Exploit
    Stored in XML-accepting upload collection
  4. Execution
    Victim user opens file
  5. Persist
    JavaScript executes in Payload origin
  6. Impact
    Hijack 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

payload < 3.90.0
payload 4.0.0-canary.0, < 4.0.0-canary.34

Affected Packages

npm payload fix: 3.90.0, 4.0.0-canary.34
euvd payload_4_0_0_canary_0 fix: 4.0.0-canary.34

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

Vendor (GitHub_M) PRIMARY 8.6 HIGH
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
vuln.today AI 8.7 HIGH

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

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 06, 2026 - 18:19 EUVD
CVE Published
Oct 06, 2026 - 16:51 cve.org
HIGH 8.6

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

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

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Medium
popular open-source headless CMS, but not ubiquitous infrastructure
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Medium
Technical Impact
Total

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

CVE-2022-27952 CRITICAL POC
9.8 Apr 12

An arbitrary file upload vulnerability in the file upload module of PayloadCMS v0.15.0 allows attackers to execute arbit

CVE-2026-105844 CRITICAL POC
9.3 Oct 06

Prototype pollution in Payload CMS's @payloadcms/plugin-import-export module lets an unauthenticated remote attacker sub

CVE-2026-105851 CRITICAL POC
9.3 Oct 06

Field-level access control can be bypassed in Payload CMS's document duplicate operation, letting a caller with access t

CVE-2026-105850 HIGH POC
8.8 Oct 06

Duplicate order processing in @payloadcms/plugin-ecommerce allows remote, unauthenticated attackers to have a single Str

CVE-2026-105854 HIGH POC
8.7 Oct 06

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

CVE-2026-105849 HIGH POC
7.7 Oct 06

API key disclosure in Payload CMS lets an authenticated user with ordinary read access to other users' authentication do

CVE-2026-105855 HIGH POC
7.6 Oct 06

Authenticated users who can update an auth collection document in Payload CMS can change the password field on that docu

CVE-2026-105852 MEDIUM POC
6.9 Oct 06

Payload CMS versions before 3.90.0 and canary versions before 4.0.0-canary.34 contain an authorization bypass in relatio

CVE-2026-105857 CRITICAL
10.0 Oct 06

Unauthorized read access to stored form submissions and form email configuration in Payload CMS deployments running the

CVE-2026-105859 CRITICAL
9.8 Oct 06

Payload CMS releases before 3.90.0 (and canary builds before 4.0.0-canary.34) expose an orderable reorder endpoint that

CVE-2026-25544 CRITICAL POC
9.8 Feb 06

Payload CMS prior to 3.73.0 has a SQL injection vulnerability when querying structured data, enabling database compromis

CVE-2026-105845 CRITICAL POC
9.8 Oct 06

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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy