@mermaid-js/tiny@11.7.0 vulnerabilities

Tiny version of mermaid

  • latest version

    11.10.1

  • latest non vulnerable version

  • first published

    4 months ago

  • latest version published

    1 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @mermaid-js/tiny package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Cross-site Scripting (XSS)

    @mermaid-js/tiny is a Tiny version of mermaid

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the node labels which were introduced in 734bde3. An attacker can execute arbitrary JavaScript in the context of the application by injecting malicious HTML content into the iconText of architecture diagrams.

    How to fix Cross-site Scripting (XSS)?

    Upgrade @mermaid-js/tiny to version 11.10.0 or higher.

    <11.10.0