Vulnerability details
CVE-2026-47666
Penpot: Stored XSS via custom font family name injected into a @font-face style rule
Official description
Penpot is an open-source design and prototyping platform. In versions up to and including 2.14.3, Penpot is vulnerable to stored cross-site scripting through custom font family names, which are interpolated into a @font-face CSS rule and injected into the page as HTML without sanitization. Because the backend accepts an arbitrary font-family string and the frontend writes the resulting style through innerHTML, a name containing markup such as a closing style tag followed by a script can break out of the style element and execute JavaScript on the Penpot origin. The attack is passive: any team member who opens a file referencing the malicious font triggers script execution simply by rendering the page, allowing theft of session cookies, actions performed as the victim, and access to their files and projects. This issue is fixed in version 2.15.3.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 7.6High | 3.1 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| penpot | penpot | < 2.15.3 | CVEProject cvelistV5 (CNA) |
References and advisories
2- https://github.com/penpot/penpot/commit/67d95679711da538b3b22a873bcb6c197104dc0c x_refsource_MISC
- https://github.com/penpot/penpot/security/advisories/GHSA-w5hh-gj5c-5wpc x_refsource_CONFIRM
Details
- Published
- 2026-08-27
- Last updated
- 2026-08-27
- State
- Published
- Assigner (CNA)
- GitHub_M
Exploit prediction (EPSS)
SSVC assessment (CISA)
- Automatable
- No
- Exploitation
- Proof of concept
- Technical impact
- Partial
Weaknesses (CWE)
- CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')