{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0.20.0"
              },
              {
                "last_affected": "1.8.8"
              }
            ]
          },
          "events": [
            {
              "introduced": "3beb5ccc97da020b1b48a256c1cfd1a146514710"
            },
            {
              "last_affected": "4d72f9c9c7f3703c850996ad3142336c61fa4f3c"
            }
          ],
          "repo": "https://github.com/zettlr/zettlr",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Cross-site scripting vulnerability in Zettlr from 0.20.0 to 1.8.8 allows an attacker to execute an arbitrary script by loading a file or code snippet containing an invalid iframe into Zettlr.",
  "id": "CVE-2021-20727",
  "modified": "2026-04-01T23:08:10.130589126Z",
  "published": "2021-05-27T09:15:07.533Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://www.zettlr.com/"
    },
    {
      "type": "ADVISORY",
      "url": "https://jvn.jp/en/jp/JVN98239374/index.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Zettlr/Zettlr"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}