Vulnerability library
Security checkOctober 23, 2024

Prototype pollution vulnerability found in Mermaid's bundled version of DOMPurify

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmmermaid

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

The following bundled files within the Mermaid NPM package contain a bundled version of DOMPurify that is vulnerable to https://github.com/cure53/DOMPurify/security/advisories/GHSA-mmhx-hmjr-r674, potentially resulting in an XSS attack.

Recommendation

Update the mermaid package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 10.9.2
  • Patched version(s): 10.9.3

References

Could your website be exposed too?

SmartScanner can check your website for Prototype pollution vulnerability found in Mermaid's bundled version of DOMPurify and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 23, 2024