{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.16.3"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "cb38f99d2dbe8e828de390ad3a0c7263a59c3cb8"
            }
          ],
          "repo": "https://github.com/marktext/marktext",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Mark Text v0.16.3 was discovered to contain a DOM-based cross-site scripting (XSS) vulnerability which allows attackers to perform remote code execution (RCE) via injecting a crafted payload into /lib/contentState/pasteCtrl.js.",
  "id": "CVE-2022-25069",
  "modified": "2026-03-13T21:55:40.143831648Z",
  "published": "2022-03-05T01:15:07.730Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://github.com/marktext/marktext/issues/2990"
    },
    {
      "type": "FIX",
      "url": "https://github.com/marktext/marktext/pull/3002"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}