cvelo
P3 · MediumCVSS 5.4EPSS 0.5%

Penpot 2.18.0 before 2.18.2 Stored XSS via Namespace-Prefixed SVG Elements

  • CVE-2026-133704
  • GHSA-f5h5-c9gp-6c5r
  • EUVD-2026-131542

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.

Text from the CVE.org record.

Recommendation

  • penpot

    • If you run 2.18.xupdate to 2.18.2 or laterPatch update: breaking changes are unlikely

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • penpot

    Affected versionsFixed in
    from 2.18.0 to before 2.18.22.18.2

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.