Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-32855

Vditor is a browser-side Markdown editor. Versions prior to 3.8.7 are vulnerable to copy-paste cross-site scripting (XSS). For this particular type of XSS, the victim needs to be fooled into copying a malicious payload into the text editor. Version 3.8.7 contains a patch for this issue.

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

Source evidence

CVE-2021-32855

core-osv · Original source

Published 21 Feb 2023, 15:15 UTC

Vditor is a browser-side Markdown editor. Versions prior to 3.8.7 are vulnerable to copy-paste cross-site scripting (XSS). For this particular type of XSS, the victim needs to be fooled into copying a malicious payload into the text editor. Version 3.8.7 contains a patch for this issue.

osv:CVE-2021-32855
Complete source record
{
  "id": "4d2d82ce00bf7e0c4488d6df186e6db7737c780c4005bbaabcf510d66ad2cbd6",
  "url": "https://osv.dev/vulnerability/CVE-2021-32855",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-32855",
    "summary": "Vditor is a browser-side Markdown editor. Versions prior to 3.8.7 are vulnerable to copy-paste cross-site scripting (XSS). For this particular type of XSS, the victim needs to be fooled into copying a malicious payload into the text editor. Version 3.8.7 contains a patch for this issue.",
    "evidence": "osv:CVE-2021-32855",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-32855",
      "aliases": [
        "CVE-2021-32855",
        "GHSA-vfmp-9999-6wqj"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/vanessa219/vditor",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "e48f4bc4299effb7e73000cd6db05600ca46aa21"
                },
                {
                  "fixed": "1b2382d7f8a4ee509d9245db4450d926a0b24146"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:b3log:vditor:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.8.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "1b2382d7f8a4ee509d9245db4450d926a0b24146"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.8.5",
            "v3.8.4",
            "v3.8.3",
            "v3.8.2",
            "v3.8.1",
            "v3.8.0",
            "v3.7.6",
            "v3.7.5",
            "v3.7.4",
            "v3.7.3",
            "v3.7.2",
            "v3.7.1",
            "v3.7.0",
            "v3.6.6",
            "v3.6.3",
            "v3.6.1",
            "v3.6.0",
            "v3.5.5",
            "v3.5.4",
            "v3.5.3",
            "v3.5.2",
            "v3.4.7",
            "v3.4.6",
            "v3.4.5",
            "v3.4.4",
            "v3.4.3",
            "v3.4.2",
            "v3.4.1",
            "v3.4.0",
            "v3.3.12",
            "v3.3.11",
            "v3.3.10",
            "v3.3.9",
            "v3.3.8",
            "v3.3.6",
            "v3.3.5",
            "v3.3.4",
            "v3.2.12",
            "v3.1.23",
            "v3.0.12",
            "v2.2.19",
            "v2.0.15",
            "v1.10.11",
            "v1.10.10",
            "v1.9.7",
            "v1.8.16",
            "1.7.25",
            "v1.6.12",
            "v1.5.12",
            "v1.4.7",
            "v1.3.5",
            "v1.2.10",
            "v1.1.11",
            "v1.0.0",
            "v0.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32855.json"
          }
        }
      ],
      "modified": "2026-10-20T10:53:47.925021475Z",
      "provider": "osv",
      "references": [
        "https://github.com/Vanessa219/vditor/issues/1085",
        "https://github.com/Vanessa219/vditor/commit/1b2382d7f8a4ee509d9245db4450d926a0b24146",
        "https://securitylab.github.com/advisories/GHSL-2021-1006-vditor/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-32855",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384645,
  "published_at": "2023-02-21T15:15:11.267+00:00"
}