org.webjars.bower:mermaid@0.5.8 vulnerabilities

  • latest version

    10.2.3

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    1 years ago

  • licenses detected

  • package manager

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.bower:mermaid 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
    Information Exposure

    org.webjars.bower:mermaid is a package for generation of diagrams and flowcharts from text in a similar manner as markdown.

    Affected versions of this package are vulnerable to Information Exposure by injecting arbitrary CSS into the generated graph. Exploiting this vulnerability allows the attacker to change the styling of elements outside of the generated graph, and potentially exfiltrate sensitive information by using specially crafted CSS selectors.

    How to fix Information Exposure?

    Upgrade org.webjars.bower:mermaid to version 10.2.3 or higher.

    [,10.2.3)
    • H
    Cross-site Scripting (XSS)

    org.webjars.bower:mermaid is a package for generation of diagrams and flowcharts from text in a similar manner as markdown.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS). Malicious diagrams can run javascript code at diagram readers' machines.

    How to fix Cross-site Scripting (XSS)?

    Upgrade org.webjars.bower:mermaid to version 10.2.3 or higher.

    [,10.2.3)
    • M
    Cross-site Scripting (XSS)

    org.webjars.bower:mermaid is a package for generation of diagrams and flowcharts from text in a similar manner as markdown.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) when using the antiscript security setting.

    How to fix Cross-site Scripting (XSS)?

    Upgrade org.webjars.bower:mermaid to version 8.11.0 or higher.

    [,8.11.0)
    • M
    Cross-site Scripting (XSS)

    org.webjars.bower:mermaid is a package for generation of diagrams and flowcharts from text in a similar manner as markdown.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS). If malicious input such as A["<img src=invalid onerror=alert('XSS')></img>"] is provided to the application, it will execute the code instead of rendering it as text due to improper output encoding.

    How to fix Cross-site Scripting (XSS)?

    Upgrade org.webjars.bower:mermaid to version 10.2.3 or higher.

    [,10.2.3)