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

Published Nov 20, 2026
·
Updated

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.

Affected Software

1 affected component
Penpot Penpot>=2.18.0<2.18.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Penpot to a version that resolves this vulnerability.

    Fixed in 2.18.2

Event History

Nov 20, 2026
CVE Published
via MITRE·12:17 PM
Data Sourced
via MITRE·12:17 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker must be authenticated to Penpot and have edit rights that allow them to upload a crafted SVG file. Exploitation also requires a victim to interact with the malicious SVG.

2

Which deployments are affected?

The affected version range is Penpot 2.18.0 before 2.18.2. The issue applies where uploaded SVG files are served inline as image/svg+xml.

3

What is the impact on a victim session?

A crafted SVG can execute JavaScript in the context of a victim's Penpot session. The stated impact includes potential compromise of confidentiality and integrity, with no availability impact indicated.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203