CVE-2026-134828 Penpot 2.18.0 before 2.19.1 Stored XSS via SVG Sanitizer Re-serialization

Published Updated

Authenticated users with file edit rights can upload SVGs that bypass sanitization and run JavaScript in the Penpot origin when opened.

CVSS score

Medium

5.1/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
Proof of concept
1 on GitHub, unverified
Fix
Available
2.19.1
Attack path
Over the internet
Any signed-in user, a user must click or open something

What is CVE-2026-134828?

CVE-2026-134828 is a medium-severity cross-site scripting vulnerability in Penpot, published on 22 Nov 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

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

Weakness: CWE-79

How severe is CVE-2026-134828?

CVE-2026-134828 scores 5.1 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
Low
User interaction
Passive
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Which versions are affected by CVE-2026-134828?

1 open source package ship an affected version, including penpot/penpot.

An affected version is exposed as installed. No special setting or call is needed.

PackageAffectedFixed in
penpot/penpot GitHub
pkg:github/penpot/penpot
From 2.18.02.19.1

How do I fix CVE-2026-134828?

Upgrade penpot/penpot to 2.19.1 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-134828 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-134828 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-3xr3-gj5w-cwjf, GHSA-qwhj-rchj-58mg.

Is CVE-2026-134828 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free