Penpot
Penpot: Authenticated OS Command Injection in Penpot SVG Exporter via Legacy fill-color
Penpot is an open-source design and prototyping platform. Prior to 2.18.0, the SVG exporter places an attacker-controlled text object's fill-color value into a ppmcolormask command string and executes that string through child_process.exec. A user who can edit a file can store shell metacharacters in the fill color and trigger SVG export, causing commands to execute with the exporter service's privileges. The same export can be triggered through a valid public share link to a malicious file. This vulnerability is fixed in 2.18.0.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.9critical · scored by CNA · CWE-78
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
penpot penpot
- < 2.18.0
Fixed in 2.18.0
Mitigation
Upgrade penpot to 2.18.0 or later.
References
- Vendor advisory github.com/penpot/penpot/security/advisories/G…
- Patch github.com/penpot/penpot/pull/11272
- Patch github.com/penpot/penpot/commit/aa3bc1ae984577…
1 more
- Release notes github.com/penpot/penpot/releases/tag/2.18.0
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.