CVE-2026-94373 PUBLISHED

MISP DOM-based Cross-Site Scripting via innerHTML in Contextual Menu

Assigner: CIRCL
Reserved: 21.09.2026 Published: 21.09.2026 Updated: 21.09.2026

MISP contains a DOM-based cross-site scripting (XSS) vulnerability in the contextual menu JavaScript component. The ContextualMenu class populates HTML <option> elements by assigning user-controllable values to the innerHTML property. Because innerHTML parses and renders HTML markup, any untrusted string supplied as the option text (value.text or value) is interpreted as live DOM content rather than plain text. An attacker who can influence the data rendered in the contextual menu can inject arbitrary HTML or JavaScript that executes in the victim's browser within the MISP application origin. This may allow session hijacking, data exfiltration, or unauthorized actions performed on behalf of the authenticated user.

Version affected: <2.5.47

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
CVSS Score: 6.3

Product Status

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

Solutions

The vulnerability is remediated by replacing the unsafe innerHTML property assignments with the safe textContent property when setting the display text of dynamically created <option> elements. textContent inserts the value as plain text without parsing HTML, thereby neutralizing any injected markup or script.

Credits

  • iglocska remediation developer
  • Jeroen Pinoy finder
  • David Andre finder

References

Problem Types

  • CWE-79 Cross-site Scripting (XSS) CWE

Impacts

  • CAPEC-12 DOM-based XSS