~ / search / GHSA-p3rp-vmj9-gv6v

GHSA-p3rp-vmj9-gv6v

Incorrect sanitisation function leads to `XSS` in mermaid

Source: GitHub Advisory Database (reviewed) High CVE-2021-43861

Packages

EcosystemPackageAffectedFixed in
npm mermaid < 8.13.8 8.13.8

Details

As written in the advisory (Markdown source, shown as plain text).

### Impact Malicious diagrams can contain javascript code that can be run at diagram readers machines. ### Patches The users should upgrade to version 8.13.8 ### Workarounds You need to upgrade in order to avoid this issue.

References

External links from the advisory. They lead to third-party sites.