CVE-2026-41159
1 advisory.
npm/mermaid CVE-2026-41159: medium
Mermaid: Improper sanitization of configuration leads to CSS injection
Action: Upgrade mermaid to 10.9.6 or later.
npm i mermaid@11.15.0npm i mermaid@10.9.6Affected
| introduced | fixed | last affected |
|---|---|---|
| 11.0.0-alpha.1 | 11.15.0 | - |
| 0 | 10.9.6 | - |
Fixed versions
| 11.15.0 | 10.9.6 |
Sources
- osv: GHSA-87f9-hvmw-gh4p
- https://github.com/mermaid-js/mermaid/security/advisories/GHSA-87f9-hvmw-gh4p
- https://nvd.nist.gov/vuln/detail/CVE-2026-41159
- https://github.com/mermaid-js/mermaid/commit/64769738d5b59211e1decb471ffbaca8afec51aa
- https://github.com/mermaid-js/mermaid/commit/a9d9f0d8eb790349121508688cd338253fd80d76
- https://github.com/mermaid-js/mermaid
- https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.15.0
- https://github.com/mermaid-js/mermaid/releases/tag/mermaid@11.15.0
- https://github.com/mermaid-js/mermaid/releases/tag/v10.9.6
CVE-2026-41159 · published · modified · JSON