CVE-2026-105868 Payload: Uploaded XML files could execute same-origin JavaScript

High 8.6 Published Updated

Attackers can upload XML files with stylesheets to execute JavaScript in the Payload CMS origin, potentially compromising user accounts.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-105868?

CVE-2026-105868 is a high-severity cross-site scripting vulnerability in payloadcms payload, published on 6 Oct 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-434

Which versions are affected by CVE-2026-105868?

4 open source packages ship an affected version, including payload. It affects 1 product.

PackageAffectedFixed in
payload npmAll versions3.90.0
payload npmAll versions3.90.0
payload npmFrom 4.0.0-canary.04.0.0-canary.34
payload npmFrom 4.0.0-canary.04.0.0-canary.34

Products include Payloadcms Payload.

How do I fix CVE-2026-105868?

Upgrade payload to a fixed version for your release line: 3.90.0 or 4.0.0-canary.34.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-105868 being exploited?

There is no known exploitation of CVE-2026-105868 in the wild and no public exploit code.

Sources

Also known as GHSA-9qpg-3cf8-w33x.

Is CVE-2026-105868 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free