pannellum@2.5.4

Pannellum is a lightweight, free, and open source panorama viewer for the web.

  • latest version

    2.5.7

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    2 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the pannellum package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

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

    pannellum is a lightweight, free, and open source panorama viewer for the web.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the attributes configuration property in hot spots. An attacker can execute arbitrary JavaScript code by supplying a malicious configuration file that sets HTML event handler attributes, potentially replacing page content or impersonating the hosting website.

    Note:

    This is only exploitable if the standalone viewer HTML file is used with untrusted JSON config files, and protections such as the escapeHTML parameter are bypassed.

    How to fix Cross-site Scripting (XSS)?

    Upgrade pannellum to version 2.5.7 or higher.

    >=2.5.1 <2.5.7
    • M
    Cross-site Scripting (XSS)

    pannellum is a lightweight, free, and open source panorama viewer for the web.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS). URLs were not sanitized for data URIs.

    How to fix Cross-site Scripting (XSS)?

    Upgrade pannellum to version 2.5.5 or higher.

    >=2.5.0 <2.5.5