Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. payload
  4. ›
  5. CVE-2026-105868

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

October 7, 2026

Under certain local upload configurations, an uploaded XML file and stylesheet could execute JavaScript in the Payload origin when a logged-in user opens the file.

You are affected if:

  • You accept XML uploads (accepted by default).

References

  • github.com/advisories/GHSA-9qpg-3cf8-w33x
  • github.com/payloadcms/payload/commit/a8c3a8e8e2680c96ec4f66f5b3854c5df6c35adf
  • github.com/payloadcms/payload/releases/tag/v3.90.0
  • github.com/payloadcms/payload/security/advisories/GHSA-9qpg-3cf8-w33x
  • nvd.nist.gov/vuln/detail/CVE-2026-105868

Code Behaviors & Features

Detect and mitigate CVE-2026-105868 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.90.0, all versions starting from 4.0.0-canary.0 before 4.0.0-canary.34

Fixed versions

  • 3.90.0
  • 4.0.0-canary.34

Solution

Upgrade to versions 3.90.0, 4.0.0-canary.34 or above.

Impact 8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

npm/payload/CVE-2026-105868.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:33 +0000.