VDB
Sign up
MEDIUM4.8

GHSA-m52x-29pq-w3vv

Pannellum Cross-Site Scripting due to data not being sanitized for URIs or vbscript

Quick fix

GHSA-m52x-29pq-w3vv — pannellum: upgrade to the fixed version with the command below.

npm install pannellum@2.5.5

Details

Versions of `pannellum` prior to 2.5.6 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize URLs for data URIs, which may allow attackers to execute arbitrary code in a victim's browser.

## Recommendation

Upgrade to version 2.5.6 or later.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/pannellum
Introduced in: 2.5.0Fixed in: 2.5.5
Fixnpm install pannellum@2.5.5

References