{"id":"CVE-2019-16763","published":"2019-11-22T18:26:09Z","modified":"2024-08-05T01:24:48Z","title":"XSS in Pannellum from 2.5.0 through 2.5.4","vendor":"mpretroff","product":"pannellum","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00697,"percentile":0.53956,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/mpetroff/pannellum/security/advisories/GHSA-m52x-29pq-w3vv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mpetroff/pannellum/commit/cc2f3d99953de59db908e0c6efd1c2c17f7c6914","tags":["x_refsource_MISC"]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":10.79},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"mpretroff","affectedVersions":[{"vendor":"mpretroff","product":"pannellum","versions":["2.5.0","2.5.1","2.5.2","2.5.3","2.5.4"]}],"workarounds":{"items":["Don't host pannellum.htm on a domain that shares cookies with user authentication."],"from":"CVE.org CNA","provenance":"source"},"affected":[{"ecosystem":"npm","package":"pannellum","vulnerableRanges":[">=2.5.0, <2.5.5"],"patched":["2.5.5"],"from":["GHSA-m52x-29pq-w3vv"],"provenance":"source"}],"summary":{"text":"Pannellum 2.5.0 through 2.5.4, a JavaScript panorama viewer by mpretroff, fails to sanitize URLs for data URIs and vbscript: schemes, which enables cross-site scripting in the viewer's hot spot handling. An attacker would need to supply a malicious configuration and get a user to click a hot spot, and the most plausible route is hosting pannellum.htm on a domain sharing cookies with a target site, embedding it in an iframe, and acting as the authenticated user.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:21Z"},"euvd":{"id":"EUVD-2019-0755","exploited":false,"provenance":"source"}}