Description
Malicious diagrams can contain javascript code that can be run at diagram readers machines.
Recommendation
Update the mermaid package to the latest compatible version. Followings are version details:
- Affected version(s): < 8.13.8
- Patched version(s): 8.13.8
References
Could your website be exposed too?
SmartScanner can check your website for Incorrect sanitisation function leads to `XSS` in mermaid and gives you actionable findings to investigate.
Start a free scanRelated Issues
- XSS in the `of` option of the `.position()` util in jquery-ui - CVE-2021-41184
- jQuery-Upload-File XSS in fileNameStr - CVE-2021-37504
- XSS in the `altField` option of the Datepicker widget in jquery-ui - CVE-2021-41182
- XSS in `*Text` options of the Datepicker widget in jquery-ui - CVE-2021-41183
You might also like:
See something that needs correcting? Let us knowUpdated February 03, 2023


