CVE-2026-105862 — Vulnerability in payload — CVE Details
Payload: Bypassed sanitization of user uploaded SVGs
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.48%). Schedule for your next planned update.
Does your project use an affected payload version?
Paste your package-lock.json to check it for CVE-2026-105862 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
A malicious SVG file upload could bypass sanitization, be stored, and execute attacker-controlled JavaScript (XSS) after a user downloads it and opens it.
You are affected if:
- You have a collection configured to upload and allow SVG files which can then be downloaded by users.
Patches
The fix validates SVG content on every upload path and hardens SVG/XML delivery so stored SVGs cannot frame attacker content.
Users should upgrade Payload packages to >= 3.90.0 or >= 4.0.0-canary.34.
Workarounds
Disallow SVG uploads, or serve uploaded SVGs as downloads with Content-Disposition: attachment and a strict CSP. These mitigations reduce exposure but do not replace upgrading when the patched release is available.
Advisory Timeline
- First published October 7, 2026 (50 days ago).
- Last revised October 7, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install payload@4.0.0-canary.34
npm install payload@3.90.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: npm (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.7 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
References
- https://github.com/payloadcms/payload/security/advisories/GHSA-2pwp-2369-8fg3WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-105862ADVISORY
- https://github.com/payloadcms/payload/commit/a8c3a8e8e2680c96ec4f66f5b3854c5df6c35adfWEB
- https://github.com/payloadcms/payloadPACKAGE
- https://github.com/payloadcms/payload/releases/tag/v3.90.0WEB
Frequently Asked Questions
- What is CVE-2026-105862?
- Payload: Bypassed sanitization of user uploaded SVGs. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.7/10).
- How do I check if my project is affected by CVE-2026-105862?
- CVE-2026-105862 affects payload. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-105862 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 34.3% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-105863CRITICAL
Payload authentication token field handling issue
- CVE-2026-105859CRITICAL
Payload: Unauthorized update to collection documents
- CVE-2026-34751CRITICAL
Payload: Pre-Authentication Account Takeover via Parameter Injection in Password Recovery
- CVE-2026-105845CRITICAL
Payload: SQL Injection in SQLite and Postgres
- CVE-2026-83816HIGH
CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE
- CVE-2026-83817HIGH
CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution