CVE-2026-133704

medium

Description

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.

References

https://www.vulncheck.com/advisories/penpot-2.18.0-before-2.18.2-stored-xss-via-namespace-prefixed-svg-elements

https://github.com/penpot/penpot/security/advisories/GHSA-82p2-67qr-4rwf

https://github.com/penpot/penpot/releases/tag/2.18.2

https://github.com/penpot/penpot/commit/238a4d8613d4799b92eab0e38e5194fb72dc116d

https://github.com/penpot/penpot/blob/2.18.0/backend/src/app/media/svg.clj

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-131542

Details

Source: Mitre, NVD

Published: 2026-11-20

Updated: 2026-11-20

CVSS v3

Base Score: 5.4

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Severity: Medium

CVSS v4

Base Score: 5.1

Vector: 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

Severity: Medium