CVE Explore

XSS in Penpot

CVE-2026-134828

CVSS v3
5.4 Medium
Public exploits
1 repository
EPSS
0.003 · 27.5th percentile
Published
2026-11-22

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.

Vulnerability class: XSS (Cross-Site Scripting)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Attack Vector
Network AV:N
Attack Complexity
Low AC:L
Privileges Required
Low PR:L
User Interaction
Required UI:R
Scope
Changed S:C
Confidentiality
Low C:L
Integrity
Low I:L
Availability
None A:N

EPSS exploit prediction

EPSS 0.003, 27.5th percentile (last changed ). About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

1 public repository with exploit or proof-of-concept code for this CVE:

  • googlesky/CVE-2026-134828 (last pushed 2026-11-23): Penpot <2.19.1: SVG sanitizer matches ^javascript: on the XML-parsed value — 'java&#x09;script:alert(1)' passes while browsers strip the tab and execute it. Verbatim regexes from 4874da4^ vs javascri…

References