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

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 31% of CVEs (2026-11-30)
- Published: 2026-02-19T20:44:48.000Z
- Modified: 2026-06-17T10:26:51.030Z
- Also known as: GHSA-8423-w5wx-h2r6
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Pannellum is a lightweight, free, and open source panorama viewer for the web. In versions 3.5.0 through 2.5.6, 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. This issue has been fixed in version 2.5.7. To workaround, setting the Content-Security-Policy header to script-src-attr 'none' will block execution of inline event handlers, mitigating this vulnerability. Don't host pannellum.htm on a domain that shares cookies with user authentication to mitigate XSS risk.

(As written by CVE List.)

## Affected

- mpetroff pannellum: >= 2.5.0, < 2.5.7
- pannellum (npm): from 2.5.0 before 2.5.7
- pannellum pannellum: from 2.5.0 before 2.5.7

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/mpetroff/pannellum/security/advisories/GHSA-8423-w5wx-h2r6> (mitigation, vendor-advisory, web)
- <https://github.com/mpetroff/pannellum/commit/9391ef8da6a6a98c6a9f8c97f101adb900523681> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27210> (advisory)
- <https://github.com/mpetroff/pannellum> (package)

## Sources

- CVE List: [CVE-2026-27210](https://www.cve.org/CVERecord?id=CVE-2026-27210), CVE Terms of Use, modified 2026-02-25
- GitHub Advisory Database: [GHSA-8423-w5wx-h2r6](https://github.com/advisories/GHSA-8423-w5wx-h2r6), CC-BY-4.0, modified 2026-02-23
- NVD: [CVE-2026-27210](https://nvd.nist.gov/vuln/detail/CVE-2026-27210), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27210 · Whole record: https://cve.day/CVE-2026-27210.json · Rebuilt by cve.day 2026-11-25T22:59:14.602Z
