Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| penpot / penpot | affected < 2.18.0 |
CWE
CWE-78
References
- https://github.com/penpot/penpot/security/advisories/GHSA-4f36-m4hj-cv86
- https://github.com/penpot/penpot/pull/11272
- https://github.com/penpot/penpot/commit/aa3bc1ae984577f0354d4270d2546e15985f4bcf
- https://github.com/penpot/penpot/releases/tag/2.18.0
ADP enrichment
No English description supplied.