---
id: CVE-2026-104907
title: >-
  MISP contains a cross-site scripting (XSS) vulnerability in the remote event
  preview page
summary: >-
  MISP contains a cross-site scripting (XSS) vulnerability in the remote event
  preview page. When a linked (remote) MISP server is configured, the event
  preview renders tag identifiers inside an inline JavaScript onclick attribute.
  The tag…
severity: medium
cvss: 4.8
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N'
cwe:
  - CWE-79
  - CWE-116
vendor: MISP
product: MISP
affected:
  - MISP < 2.5.48
published: '2026-10-02'
updated: '2026-10-02'
sourceUpdated: '2026-10-02T17:17:04.823'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104907'
references:
  - url: 'https://github.com/MISP/MISP/commit/70ad174dd'
    label: 5a6e4751-2f3f-4070-9419-94fb35b644e8
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-02T16:17:59.477633Z'
cvssSource: cna
ingestedAt: '2026-10-02T16:22:59.529Z'
---

## Overview

MISP contains a cross-site scripting (XSS) vulnerability in the remote event preview page. When a linked (remote) MISP server is configured, the event preview renders tag identifiers inside an inline JavaScript onclick attribute. The tag ID value was HTML-escaped but not sanitized for the JavaScript string context, meaning a malicious linked server could supply a tag ID containing characters (such as a single quote) that break out of the JavaScript string literal and inject arbitrary script.

Preconditions:

- A linked/remote MISP server is configured and connected to the local instance.

- The linked server supplies a crafted tag ID in an event.

- An authenticated user views the event preview and interacts with the affected tag element.

Impact:

- Arbitrary JavaScript execution in the context of the viewing user's browser session, potentially allowing session hijacking, data exfiltration, or unauthorized actions on behalf of the user.

Affected versions: MISP prior to the fix commit (v2.5.48 or later, exact boundary unconfirmed).

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
