home / blog

2026-11-23 · medium

CVE-2026-134828: XSS Vulnerability in Penpot

Stored XSS vulnerability in Penpot allows JavaScript execution via manipulated SVGs.

CVE-2026-134828: XSS Vulnerability in Penpot

CVE-2026-134828 refers to a stored cross-site scripting (XSS) vulnerability in Penpot's sanitize-svg function. It allows authenticated users with file edit permissions to upload SVGs containing bypassing markup, executing JavaScript in the Penpot origin when opened.

The vulnerability has a CVSS score of 5.4, classified as medium severity. It was officially published on NVD on November 22, 2026. Technical signals from GitHub confirm that the current SVG sanitizer allows bypassing filters through entity-encoded or CDATA-wrapped markup.

To protect, immediately apply the update to Penpot 2.19.1 or later. Additionally, limit file edit access only to trusted users, implementing the principle of least privilege. Monitor for exploitation attempts.

At a glance

What
Stored XSS in Penpot's sanitize-svg function
Severity
CVSS 5.4 (medium)
Affected versions
Penpot 2.18.0 before 2.19.1
Fix
Upgrade to Penpot 2.19.1 or later
Status
Officially published on NVD
Action
Apply patches and limit file edit access

Sources: NVD, CVE-2026-134828

← All articles