GitHub Advisoryadvisory · npm
GHSA-4f6x-49g2-99fm Cross-site Scripting in Mermaid
MEDIUM
Official page ↗
- Aliases
- CVE-2021-35513
- Ecosystem
- npm
- Packages
- mermaid
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2021-06-28
Affected packages
• npm mermaid: < 8.11.0 → fixed in 8.11.0
Description
Mermaid before 8.11.0 allows XSS when the antiscript feature is used.
Related
Alias · CVE (1)
- CVE-2021-35513 Mermaid before 8.11.0 allows XSS when the antiscript feature is used. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-35513 advisory
- https://github.com/mermaid-js/mermaid/issues/2122 web
- https://github.com/mermaid-js/mermaid/pull/2123 web
- https://github.com/mermaid-js/mermaid/pull/2123/commits/3d22fa5d2435de5acc18de6f88474a6e8675a60e web
- https://github.com/mermaid-js/mermaid/releases/tag/8.11.0-rc2 web