Affected versions
npmpannellum
- Affected versions
- >= 2.5.0, < 2.5.5
- Fixed version
- 2.5.5
Exploitation
Description
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.
Links
- https://github.com/advisories/GHSA-m52x-29pq-w3vv
- https://github.com/mpetroff/pannellum
- https://github.com/mpetroff/pannellum/commit/cc2f3d99953de59db908e0c6efd1c2c17f7c6914
- https://github.com/mpetroff/pannellum/security/advisories/GHSA-m52x-29pq-w3vv
- https://nvd.nist.gov/vuln/detail/CVE-2019-16763
- https://www.npmjs.com/advisories/1418
Credits
- max-schaefer

