CVE-2026-134828
Deferred Deferred - Pending Action

Stored XSS in Penpot SVG Sanitization via Unescaped Re-serialization

Vulnerability report for CVE-2026-134828, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-22

Last updated on: 2026-11-22

Assigner: VulnCheck

Description

Penpot 2.18.0 before 2.19.1 contains a stored cross-site scripting vulnerability in the sanitize-svg function that allows authenticated users to bypass filtering through unescaped re-serialization. Attackers with file edit permission can upload SVGs using entity-encoded or CDATA-wrapped markup or attribute quote breakouts to execute JavaScript in the Penpot origin when victims open them.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-22
Last Modified
2026-11-22
Generated
2026-11-23
AI Q&A
2026-11-23
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
Penpot Penpot From 2.18.0 (inc) to 2.19.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Penpot 2.18.0 before 2.19.1 has a stored cross-site scripting (XSS) vulnerability in the sanitize-svg function. This flaw allows authenticated users with file edit permissions to bypass security filters by uploading specially crafted SVGs. These SVGs use techniques like entity encoding, CDATA wrapping, or quote breakouts to inject malicious JavaScript. When victims open these files, the JavaScript executes within the Penpot application's origin.

Detection Guidance

To detect this vulnerability, inspect Penpot instances for SVG files uploaded by users with edit permissions. Check for entity-encoded or CDATA-wrapped markup in SVG content. Review logs for unauthorized JavaScript execution in the Penpot origin when victims open files.

Impact Analysis

If you are an authenticated user with file edit permissions in Penpot, an attacker could trick you into opening a malicious SVG file. This could lead to unauthorized execution of JavaScript in your browser within the Penpot domain, potentially stealing session cookies, performing actions on your behalf, or exposing sensitive data.

Compliance Impact

This vulnerability could lead to unauthorized access to user data, violating GDPR's data protection principles and HIPAA's security requirements for protected health information. Organizations using Penpot may face compliance violations if user data is compromised due to this XSS flaw.

Mitigation Strategies

Upgrade Penpot to version 2.19.1 or later to address the vulnerability. Remove or restrict file edit permissions for untrusted users. Implement additional SVG sanitization checks beyond the default filtering.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-134828. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...