SecurityContext

CVE-2021-35513: Mermaid - Reflected XSS

  • Cve: CVE-2021-35513
  • Name: Mermaid - Reflected XSS
  • Description: Mermaid before 8.11.0 allows XSS when the antiscript feature is used.
  • Impact: Attackers can execute arbitrary scripts in the victim's browser, potentially leading to session hijacking or malicious actions.
  • Remediation: Update to version 8.11.0 or later.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.01018
  • Epss percentile: 0.64219
  • Assignee: [email protected]
  • Published at: 2021-06-27T12:15:08Z
  • Age in days: 1976
  • Modified at: 2026-06-17T03:57:36Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-35513
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/mermaid-js/mermaid/pull/2123Patch, Third Party Advisory
https://github.com/mermaid-js/mermaid/issues/2122Third Party Advisory
https://github.com/mermaid-js/mermaid/releases/tag/8.11.0-rc2Release Notes, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
mermaid_project:mermaid< 8.11.0nonvd/v1/products/mermaid_project/mermaid

Projects

RepositoryLink kindsIndexedUrl
mermaid-js/mermaidissues, pull, releasesyes/v1/repositories/mermaid-js/mermaid

Index

  • Repositories: 5
  • Repositories high signal: 4
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts