Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-29996

Mark Text through 0.16.3 allows attackers arbitrary command execution. This could lead to Remote Code Execution (RCE) by opening .md files containing a mutation Cross Site Scripting (XSS) payload.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-29996
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:44 UTC · Revision 1

Source evidence

CVE-2021-29996

core-osv · Original source

Published 5 Apr 2021, 08:15 UTC

Mark Text through 0.16.3 allows attackers arbitrary command execution. This could lead to Remote Code Execution (RCE) by opening .md files containing a mutation Cross Site Scripting (XSS) payload.

osv:CVE-2021-29996
Complete source record
{
  "id": "6f27d57a7cb6bb3c05d4b4adb102ca71c07919a72e535f1199ef6b4cb328d8f2",
  "url": "https://osv.dev/vulnerability/CVE-2021-29996",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-29996",
    "summary": "Mark Text through 0.16.3 allows attackers arbitrary command execution. This could lead to Remote Code Execution (RCE) by opening .md files containing a mutation Cross Site Scripting (XSS) payload.",
    "evidence": "osv:CVE-2021-29996",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2021-29996",
      "aliases": [
        "CVE-2021-29996"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/marktext/marktext",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "cb38f99d2dbe8e828de390ad3a0c7263a59c3cb8"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:marktext:marktext:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.16.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.16.3",
            "v0.16.2",
            "v0.16.0",
            "v0.16.0-rc.3",
            "v0.16.0-rc.2",
            "v0.16.0-rc.1",
            "v0.15.0",
            "v0.15.0-rc.3",
            "v0.15.0-rc.2",
            "v0.15.0-rc.1",
            "v0.14.0",
            "v0.14.0-rc.1",
            "v0.13.65",
            "v0.13.53",
            "v0.13.50",
            "v0.12.25",
            "v0.12.20",
            "v0.11.42",
            "v0.10.21",
            "v0.9.25",
            "v0.8.12",
            "v0.7.17",
            "v0.6.13",
            "v0.5.2",
            "v0.4.0",
            "v0.3.0",
            "v0.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29996.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:38.973056905Z",
      "provider": "osv",
      "references": [
        "https://github.com/marktext/marktext/issues/2548"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-29996",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385801,
  "published_at": "2021-04-05T08:15:12.257+00:00"
}