VDB

CVE-2021-35513

CVE-2021-35513 PUBLISHED CVSS 6.099999904632568 MEDIUM

Mermaid before 8.11.0 allows XSS when the antiscript feature is used.

Reported by mitre · Published June 27, 2021

mermaid is fixed in 8.11.0 (npm)

Mermaid before 8.11.0 allows XSS when the antiscript feature is used.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
mermaidnpm8.11.0
mermaidmermaid_project8.11.0

Risk scores

CVSS 3.1
6.099999904632568
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected products

VendorProductVersions
n/an/an/a
npmmermaid0
n/an/a*

Timeline

  • Jun 27, 2021 CVE Published
  • Jun 28, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 9, 2026 Security Advisory
  • Jun 17, 2026 CVE Updated
  • Jul 29, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-35513
vulnetix vdb fixes CVE-2021-35513

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-35513/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›