CVE-2019-16763: Pannellum Cross-Site Scripting due to data not being sanitized for URIs or vbscript
4.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.70867%
CWE
Published
11/22/2019
Updated
1/11/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
pannellum | npm | >= 2.5.0, < 2.5.5 | 2.5.5 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from insufficient URL sanitization in the sanitizeURL
function. The pre-patch version lacked: 1) vbscript: protocol checking, and 2) data URI blocking for href
contexts. The commit diff shows these vulnerabilities were addressed by adding 'vbscript:' detection and a new 'href' parameter flag to block data URIs. Multiple call sites (createHotSpot
, processOptions
) were updated to pass this flag when handling clickable links, confirming these were the vulnerable execution paths. The function's incomplete sanitization directly enabled XSS payload delivery through crafted URLs.