CVE-2026-105694
Penpot: Stored XSS via Unsanitised SVG Uploads
- State
- Published
- Severity
- 5.4 Medium
- Published
- Oct 5, 2026
- Updated
- Oct 8, 2026
- Reserved
- Oct 5, 2026
Description
Penpot is an open-source design and prototyping platform. Prior to 2.18.0, authenticated users with file-edit permission can upload SVG media whose scripts, event-handler attributes, and foreignObject elements are stored without sanitization and served as image/svg+xml from the Penpot origin. A victim who navigates to the asset URL executes attacker-controlled JavaScript in that origin, allowing requests and data access with the victim's Penpot session authority. This issue is fixed in version 2.18.0.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.4 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | GitHub_M |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
penpotpenpot |
|
References
- https://github.com/penpot/penpot/security/advisories/GHSA-xg6f-5v5x-g4w2
- https://github.com/penpot/penpot/security/advisories/GHSA-wrcr-m7p8-m2c4
- https://github.com/penpot/penpot/pull/10989
- https://github.com/penpot/penpot/pull/11044
- https://github.com/penpot/penpot/commit/c4dd04353fcf06c3e10a64e3d8e43945508ae98c
- https://github.com/penpot/penpot/releases/tag/2.18.0
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.