rollup@2.10.2 vulnerabilities

Next-generation ES module bundler

  • latest version

    4.28.1

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    9 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the rollup 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)

    rollup is a Next-generation ES module bundler

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) on websites that include rollup-bundled files configured with an output format of cjs, iife, or umd and use import.meta

    An attacker can execute arbitrary scripts in the context of the web page by manipulating HTML elements such as an img tag with an unsanitized name attribute.

    How to fix Cross-site Scripting (XSS)?

    Upgrade rollup to version 2.79.2, 3.29.5, 4.22.4 or higher.

    >=0.59.0 <2.79.2>=3.0.0 <3.29.5>=4.0.0 <4.22.4