Skip to content
DayZeroHub
Medium Not yet writtenCVSS 5.1CVE-2026-133704

CVE-2026-133704: Penpot 2.18.0 before 2.18.2 Stored XSS via Namespace-Prefixed SVG Elements

penpot penpot

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-133704: medium-severity vulnerability (CVSS 5.1) in penpot penpot.

What happened

Original description from the source: Penpot 2.18.0 before 2.18.2 contains a stored cross-site scripting vulnerability that allows authenticated users with edit rights to bypass the sanitize-svg-element blocklist using namespace-prefixed SVG elements. Attackers can upload SVGs containing elements like x:script or attributes like x:onload, which are served inline as image/svg+xml to run JavaScript in victims' Penpot sessions.

Why it matters

Medium severity, CVSS 5.1.

Affected products and versions

penpot penpot >= 2.18.0, < 2.18.2

ProductVersionsFixed in
penpot penpot>= 2.18.0, < 2.18.2—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-79

Relevant change history

  1. Published

    Preliminary advisory published.