Penpot CVE-2026-47665
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Penpot team member account
-
DeliveryPost XSS payload as file comment
-
ExploitVictim opens comments panel in browser
-
ExecutioninnerHTML renders payload without escaping
-
PersistMalicious script executes at Penpot origin
-
ImpactExfiltrate session cookie or perform actions as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must hold a valid Penpot account on the target instance with comment permissions on at least one shared file - this is PR:L in the CVSS vector. No elevated or administrative privileges are required beyond standard team membership. The malicious comment persists until manually deleted, so the attacker need not be online when victims trigger it. Exploitation is limited by UI:R: a victim must open the comments panel on the affected file, though this is a routine and expected collaborator action rather than a contrived lure. There is no configuration toggle or non-default setting required for the vulnerable path - the comments feature is on by default. Exploitation is bounded to the Penpot web origin and does not affect other applications or systems outside the Penpot session context. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N scores 8.7 and accurately reflects the threat model. Low attack complexity and a network attack vector mean exploitation requires no special tooling or timing. PR:L correctly constrains the attacker to authenticated team members - anonymous external attackers cannot exploit this without first obtaining a Penpot account with file access. The S:C scope change captures the key amplifier: once executed, the attacker's script runs in the victim's browser at the Penpot origin, enabling session theft and full account takeover. UI:R is technically required (victim must open the comments panel) but this is a routine collaborator action, not a targeted social-engineering step. No CISA KEV listing and no EPSS score are present in the input data; exploitation probability cannot be quantified beyond technical analysis. Despite the absence of confirmed active exploitation, the low complexity and high stored impact make this a genuine remediation priority for any Penpot deployment with multiple collaborators. |
| Exploit ScenarioDerived | A malicious Penpot team member posts a comment on a shared design file containing a payload such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 26, 2026
Stored cross-site scripting in Penpot's comments panel allows any authenticated team member to inject and persistently store arbitrary HTML or JavaScript that executes in collaborators' browsers upon viewing the comments panel. Affected are all Penpot instances running version 2.14.3 and earlier. Because the attack is passive - victims trigger payload execution merely by opening the comments panel as part of normal collaboration - an attacker can silently steal session cookies, hijack accounts, and access victims' files and projects. No public exploit identified at time of analysis; however, the attack mechanism is technically trivial and the fix commit is publicly visible.
RemediationAI
Upgrade Penpot to version 2.15.3, which resolves the vulnerability by applying HTML escaping to all comment content before innerHTML insertion. The upstream fix is confirmed in commit 29f940fb7ab521033b1e276b8285afbc3609df6c (https://github.com/penpot/penpot/commit/29f940fb7ab521033b1e276b8285afbc3609df6c) and detailed in advisory GHSA-vc72-6r45-q988. If immediate upgrade is not feasible, operators can restrict file sharing to only fully trusted internal team members, reducing the pool of principals able to post malicious comments - note this directly limits collaboration capability. Disabling the comments panel at the reverse-proxy or application configuration level eliminates the attack surface entirely but removes the feature for all users. There is no server-side workaround that compensates for the frontend innerHTML sink without a code change.
Affected ProductsAI
All Penpot instances running versions up to and including 2.14.3 are affected. No CPE string was included in the input data; the affected component is frontend/src/app/main/ui/comments.cljs in the Penpot open-source repository. The vulnerability was disclosed via GitHub Security Advisory GHSA-vc72-6r45-q988 at https://github.com/penpot/penpot/security/advisories/GHSA-vc72-6r45-q988. The fix is included in version 2.15.3.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Penpot is a ClojureScript-based collaborative web design tool. The root cause (CWE-79, Stored XSS) lies in the frontend rendering pipeline: frontend/src/app/main/ui/comments.cljs calls dom/set-html!, which directly assigns comment content to a DOM element's innerHTML property without any HTML encoding. The backend enforces only a length constraint, providing no server-side sanitization. This means any HTML special characters - angle brackets, quotes, ampersands - are written verbatim into the page DOM, allowing embedded event handlers (e.g., onerror, onload) or inline scripts to execute. The fix introduces a new dom/escape-html function in frontend/src/app/util/dom.cljs that encodes &, <, >, ", and ' before innerHTML insertion, applied at four distinct call sites in the comments rendering path.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
PR:L because attacker needs a team member account; S:C because script runs in victim's browser at Penpot origin; no availability impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
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 file comments, whose content is stored as raw text and rendered into the page with innerHTML without any sanitization. Because the backend applies only a length check and the frontend writes comment content directly through innerHTML, any team member who can comment on a shared file can embed HTML such as an image error handler or script that executes in the browser of every other collaborator. The attack is passive: any user who opens the comments panel on the affected file triggers script execution on the Penpot origin, 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.
Executive ViewAI
Penpot (versions 2.14.3 and earlier) contains a stored cross-site scripting vulnerability (CVE-2026-47665, CVSS 8.7) that allows any team member to inject malicious code into comments, automatically executing when collaborators view the comments panel. No public exploit identified at time of analysis, however, the attack mechanism is technically straightforward. Attackers can steal session credentials and hijack user accounts to access sensitive files and projects across the workspace, with compromises triggered passively through normal collaboration.
No vendor-released patch identified at time of analysis. Interim mitigations: disable Penpot comments if supported; restrict Penpot access to essential personnel only; monitor for unusual account activity and mass file access; implement Content Security Policy if infrastructure allows; train users to report suspicious comment behavior; prepare upgrade plan for when patched versions become available.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB