{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.18.0"
                  },
                  {
                    "fixed": "2.18.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "238a4d8613d4799b92eab0e38e5194fb72dc116d"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "2.18.2",
                "range": [
                  {
                    "fixed": "cf46b53bcb61c2a9be8f202bec03647a5470d43d"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "5baffdc213f0deaaeb318e97a41d611ac0656a94"
            },
            {
              "fixed": "cf46b53bcb61c2a9be8f202bec03647a5470d43d"
            },
            {
              "fixed": "238a4d8613d4799b92eab0e38e5194fb72dc116d"
            }
          ],
          "repo": "https://github.com/penpot/penpot",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-82p2-67qr-4rwf"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133704.json"
  },
  "details": "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.",
  "id": "CVE-2026-133704",
  "modified": "2026-11-20T13:45:42.302282760Z",
  "published": "2026-11-20T12:17:12.497Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133704.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/penpot/penpot"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/penpot/penpot/blob/2.18.0/backend/src/app/media/svg.clj"
    },
    {
      "type": "FIX",
      "url": "https://github.com/penpot/penpot/commit/238a4d8613d4799b92eab0e38e5194fb72dc116d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/penpot/penpot/releases/tag/2.18.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/penpot/penpot/security/advisories/GHSA-82p2-67qr-4rwf"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-133704"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/penpot-2.18.0-before-2.18.2-stored-xss-via-namespace-prefixed-svg-elements"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Penpot 2.18.0 before 2.18.2 Stored XSS via Namespace-Prefixed SVG Elements"
}