Cross-site scripting in Pannellum - CVE-2026-27210
Published: November 23, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary JavaScript in a victim's browser under the viewer's origin.
The vulnerability exists due to improper neutralization of HTML event handler attributes in Pannellum's hot spot rendering when processing untrusted JSON configurations, bypassing the escapeHTML protection. A remote attacker can supply a malicious configuration that a victim's standalone viewer or another Pannellum integration loads to execute arbitrary JavaScript under the viewer's origin.