CVE-2019-16763: Pannellum Cross-Site Scripting Vulnerability

pannellum Updated 02 Oct 2025

Summary

22/11/2019
Yes i
Moderate
4.8

CVE-2019-16763: Pannellum Cross-Site Scripting due to data not being sanitized for URIs or vbscript. Affects pannellum versions >= 2.5.0, < 2.5.5. Fixed in 2.5.5. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Pannellum is an npm package that provides a web-based viewer for 360-degree panoramic images. It allows users to embed interactive panoramas into websites and applications. The package is widely used and provides a simple and intuitive way to display immersive images. However, versions prior to 2.5.6 are vulnerable to a Cross-Site Scripting (XSS) attack.

Vulnerability Detail

The vulnerability in Pannellum arises from the package's failure to properly sanitize URLs for data URIs. This oversight enables attackers to inject malicious code into a victim's browser, potentially leading to the execution of arbitrary code. By exploiting this vulnerability, an attacker can compromise the integrity and confidentiality of user data, perform actions on behalf of the user, or even gain unauthorized access to sensitive information.

How To Fix

Minimum fixed version

2.5.5

This is the first release that contains the fix.

npm install pannellum@2.5.5

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The Pannellum package prior to version 2.5.6 is susceptible to a Cross-Site Scripting vulnerability that allows attackers to execute arbitrary code in a victim's browser. To mitigate this risk, it is crucial to upgrade to the fixed version of the package. For further assistance and support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for pannellum →

Share this vulnerability

FAQ

This vulnerability allows attackers to execute arbitrary code in a victim's browser, potentially leading to various malicious activities such as data theft, unauthorized access, and privilege escalation.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply upload your package-lock.json file and the playground will provide real-time alerts for open-source vulnerabilities, including this one.

At the moment, there are no known workarounds for this vulnerability. It is recommended to upgrade to the fixed version of the Pannellum package.

Yes, this vulnerability has a CVSS score of 4.8, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for pannellum.

How To Fix

Minimum fixed version

2.5.5

This is the first release that contains the fix.

npm install pannellum@2.5.5

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback