CVE-2022-31108
1 advisory.
npm/mermaid CVE-2022-31108: medium 4.1, EPSS 0.91%
Possible inject arbitrary `CSS` into the generated graph affecting the container HTML
Action: Upgrade mermaid to 9.1.2 or later.
npm i mermaid@9.1.2Affected
| introduced | fixed | last affected |
|---|---|---|
| 8.0.0 | 9.1.2 | - |
Fixed versions
| 9.1.2 |
Sources
- osv: GHSA-x3vm-38hw-55wf
- https://github.com/mermaid-js/mermaid/security/advisories/GHSA-x3vm-38hw-55wf
- https://nvd.nist.gov/vuln/detail/CVE-2022-31108
- https://github.com/mermaid-js/mermaid/commit/0ae1bdb61adff1cd485caff8c62ec6b8ac57b225
- https://github.com/mermaid-js/mermaid
CVE-2022-31108 · published · modified · JSON