Vulnerability · Published Oct 5, 2026 · Assigned by GitHub_M
CVE-2026-105694Penpot: Stored XSS via Unsanitised SVG Uploads
Medium 5.4
In plain English
A medium-severity cross-site scripting in penpot from penpot. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/penpot/penpot/security/advisories/GHSA-xg6f-5v5x-g4w2 x_refsource_CONFIRM
- https://github.com/penpot/penpot/security/advisories/GHSA-wrcr-m7p8-m2c4 x_refsource_MISC
- https://github.com/penpot/penpot/pull/10989 x_refsource_MISC
- https://github.com/penpot/penpot/pull/11044 x_refsource_MISC
- https://github.com/penpot/penpot/commit/c4dd04353fcf06c3e10a64e3d8e43945508ae98c x_refsource_MISC
- https://github.com/penpot/penpot/releases/tag/2.18.0 x_refsource_MISC