# CVE-2019-16763: XSS in Pannellum from 2.5.0 through 2.5.4

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.8
- **CVSS:** 4.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: High; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.70% (percentile 48, 2026-11-26)
- **CWE:** CWE-79
- **Aliases:** GHSA-m52x-29pq-w3vv
- **Published:** 2019-11-22T18:18:03.000Z
- **Modified:** 2026-07-08T06:00:39.393Z

## Who should check

- Projects that depend on npm package pannellum (\>= 2.5.0, \< 2.5.5)
- Anyone running mpretroff pannellum 2.5.0; 2.5.1; 2.5.2; 2.5.3; 2.5.4

## Description

In Pannellum from 2.5.0 through 2.5.4 URLs were not sanitized for data URIs (or vbscript:), allowing for potential XSS attacks. Such an attack would require a user to click on a hot spot to execute and would require an attacker-provided configuration. The most plausible potential attack would be if pannellum.htm was hosted on a domain that shared cookies with the targeted site's user authentication; an &lt;iframe&gt; could then be embedded on the attacker's site using pannellum.htm from the targeted site, which would allow the attacker to potentially access information from the targeted site as the authenticated user (or worse if the targeted site did not have adequate CSRF protections) if the user clicked on a hot spot in the attacker's embedded panorama viewer. This was patched in version 2.5.5.

## Affected and fixed versions

- npm `pannellum`: affected \>= 2.5.0, \< 2.5.5; fixed 2.5.5 (osv)
- mpretroff pannellum: 2.5.0; 2.5.1; 2.5.2; 2.5.3; 2.5.4 (cvelist)

## Mitigation

- Upgrade pannellum to 2.5.5 or later.
- Vendor workaround: Don't host pannellum.htm on a domain that shares cookies with user authentication.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2019-16763. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2019-16763.md
Affected: pannellum >= 2.5.0, < 2.5.5
Fixed in: 2.5.5

Steps:
1. Search this machine and project for pannellum (npm), mpretroff pannellum: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2019-16763 being exploited?

There is no confirmed exploitation: CVE-2019-16763 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.70% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2019-16763?

Medium: CVSS 4.8 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2019-16763?

pannellum \>= 2.5.0, \< 2.5.5.

### Is there a fix for CVE-2019-16763?

Yes. Fixed in 2.5.5. Upgrade pannellum to 2.5.5 or later. Vendor workaround: Don't host pannellum.htm on a domain that shares cookies with user authentication.

### How do I check if I'm affected by CVE-2019-16763?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/mpetroff/pannellum/security/advisories/GHSA-m52x-29pq-w3vv>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2019-16763>
- vendor: <https://github.com/advisories/GHSA-m52x-29pq-w3vv>
- patch: <https://github.com/mpetroff/pannellum/commit/cc2f3d99953de59db908e0c6efd1c2c17f7c6914>
- other: <https://github.com/mpetroff/pannellum>
- other: <https://www.npmjs.com/advisories/1418>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2019-16763>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-m52x-29pq-w3vv> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2019-16763> · JSON: <https://flawdb.com/api/v1/entries/CVE-2019-16763>
