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.
References7
- github.com/penpot/penpot/commit/c4dd04353fcf06c3e10a64e3d8e4394…
- github.com/penpot/penpot/pull/10989
- github.com/penpot/penpot/pull/11044
- github.com/penpot/penpot/releases/tag/2.18.0
- github.com/penpot/penpot/security/advisories/GHSA-wrcr-m7p8-m2c4
- github.com/penpot/penpot/security/advisories/GHSA-xg6f-5v5x-g4w2
- github.com/penpot/penpot/security/advisories/GHSA-xg6f-5v5x-g4w2
Metrics
- CVSS 3.1
-
5.4
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 12 · as of 10 November 2026
- CWE
- CWE-79
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.