CVE-2026-135238 PUBLISHED

MISP Overmind Remote Event Preview: Insufficient Escaping of Remote UUID in Inline JavaScript Handler Enables Cross-Site Scripting

Assigner: CIRCL
Reserved: 23.11.2026 Published: 23.11.2026 Updated: 23.11.2026

MISP contains a cross-site scripting (XSS) vulnerability in the Overmind server preview's analyst data badge component. When rendering the analyst data link for a remote attribute, the remote server's UUID value was inserted into an inline JavaScript event handler using only HTML entity encoding, which is insufficient to prevent breakout from the JavaScript string context within the HTML attribute.

An attacker who can control or influence the UUID value of a remote attribute (for example, through a malicious or compromised upstream MISP server sharing data via Overmind) could inject arbitrary JavaScript that executes in the context of the victim's MISP session when the analyst data badge is clicked.

Preconditions: - The victim must be authenticated to a MISP instance with Overmind enabled. - The victim must view a remote event preview containing the crafted UUID. - The victim must interact with (click) the analyst data badge element.

Security impact: - Execution of arbitrary JavaScript in the victim's browser session. - Potential theft of session credentials, manipulation of page content, or initiation of unauthorized actions on behalf of the authenticated user.

Affected versions: MISP prior to 2.5.52.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
CVSS Score: 4.8

Product Status

Vendor MISP
Product MISP
Versions
  • affected from 0 to 2.5.52 (excl.)

Solutions

The fix replaces the insufficient HTML-entity-only encoding of the remote UUID in the inline JavaScript handler with a two-layer encoding strategy: the UUID and object type are first URL-encoded via rawurlencode() to neutralize special characters in the URL path, and the resulting URL string is then serialized as a proper JavaScript string literal via json_encode(). The entire handler expression is additionally wrapped in h() for safe placement within the HTML attribute. This ensures the remote UUID cannot break out of the JavaScript string context or inject arbitrary code.

Credits

  • iglocska remediation developer
  • Claude Opus 5.5 remediation developer

References

Problem Types

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') CWE
  • CWE-116 Improper Encoding or Escaping of Output CWE

Impacts

  • CAPEC-1 Cross Site Scripting