CVE-2026-47665: Penpot: Stored XSS via comment content, innerHTML renders unsanitized HTML

Published Aug 26, 2026
·
Updated

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.

Affected Software

2 affected components
Penpot Penpot<=2.14.3
Penpot Penpot=2.15.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Penpot to a version that resolves this vulnerability.

    Fixed in 2.15.3

Event History

Aug 26, 2026
CVE Published
via MITRE·10:50 PM
Data Sourced
via MITRE·10:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue, and who is exposed to the payload?

Any team member with permission to comment on a shared file can create a malicious comment. Other collaborators are exposed when they open the comments panel for that affected file.

2

Does exploitation require user interaction?

Yes. A victim must open the comments panel on a file containing the malicious comment. No additional interaction with the comment is described as necessary.

3

What can an attacker do after the payload executes?

The script executes on the Penpot origin and can steal session cookies, perform actions as the victim, and access the victim's files and projects.

4

Which versions are affected and what version fixes the issue?

Penpot versions up to and including 2.14.3 are affected. The issue is fixed in version 2.15.3.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203