Vulnerability library
Security checkFebruary 23, 2026

Pannellum has a XSS vulnerability in hot spot attributes

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmpannellum

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

The hot spot attributes configuration property allowed any attribute to be set, including HTML event handler attributes, allowing for potential XSS attacks. This affects websites hosting the standalone viewer HTML file and any other use of untrusted JSON config files (bypassing the protections of the escapeHTML parameter).

Recommendation

Update the pannellum package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 2.5.0, < 2.5.7
  • Patched version(s): 2.5.7

References

Could your website be exposed too?

SmartScanner can check your website for Pannellum has a XSS vulnerability in hot spot attributes and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated February 23, 2026