Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. pannellum
  4. ›
  5. CVE-2026-27210

CVE-2026-27210: Pannellum has a XSS vulnerability in hot spot attributes

February 19, 2026 (updated February 23, 2026)

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). As certain events fire without any additional user interaction, visiting a standalone viewer URL that points to a malicious config file—without additional user interaction—is sufficient to trigger the vulnerability and execute arbitrary JavaScript code, which can, for example, replace the contents of the page with arbitrary content and make it appear to be hosted by the website hosting the standalone viewer HTML file.

References

  • github.com/advisories/GHSA-8423-w5wx-h2r6
  • github.com/mpetroff/pannellum
  • github.com/mpetroff/pannellum/commit/9391ef8da6a6a98c6a9f8c97f101adb900523681
  • github.com/mpetroff/pannellum/security/advisories/GHSA-8423-w5wx-h2r6
  • nvd.nist.gov/vuln/detail/CVE-2026-27210

Code Behaviors & Features

Detect and mitigate CVE-2026-27210 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.5.0 before 2.5.7

Fixed versions

  • 2.5.7

Solution

Upgrade to version 2.5.7 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/pannellum/CVE-2026-27210.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 25 Mar 2026 00:16:52 +0000.