Description
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
Published: 2026-09-21
Score: 6.3 Medium
EPSS: n/a
KEV: No
Impact: Browser-based code execution
Action: Immediate Patch
AI Analysis

Impact

MISP contains a DOM‑based cross‑site scripting flaw in the contextual menu component. The JavaScript code uses innerHTML to insert option labels from user‑controllable data, causing any HTML or script in those values to be parsed and executed in the victim’s browser at the MISP origin. An attacker who can influence the menu content can run arbitrary code, hijack the victim’s session, exfiltrate data, or perform unauthorized actions while the user is authenticated.

Affected Systems

This vulnerability affects the MISP open‑source threat‑information platform, specifically all releases earlier than 2.5.47. The flaw resides in the ContextualMenu class that populates <option> elements.

Risk and Exploitability

The CVSS base score of 6.3 indicates a moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting it may not yet have known exploits. Inferred attack vector is web‑based; an attacker must be able to inject data into the contextual menu, which typically requires the ability to influence user input or upload data that is processed by the menu. Once achieved, the victim’s browser can execute code confined to the MISP origin, allowing session hijacking, data theft, or further authenticated actions.

Generated by OpenCVE AI on September 21, 2026 at 13:21 UTC.

Remediation

Vendor Solution

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.


OpenCVE Recommended Actions

  • Upgrade MISP to version 2.5.47 or later.
  • Apply the code change that replaces innerHTML assignments with textContent in the contextual menu code.
  • Configure the application to restrict contextual menu data to trusted sources only.

Generated by OpenCVE AI on September 21, 2026 at 13:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 21 Sep 2026 13:45:00 +0000

Type Values Removed Values Added
First Time appeared Misp
Misp misp
Vendors & Products Misp
Misp misp

Mon, 21 Sep 2026 12:30:00 +0000

Type Values Removed Values Added
Description 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
Title MISP DOM-based Cross-Site Scripting via innerHTML in Contextual Menu
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 6.3, '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: CIRCL

Published:

Updated: 2026-09-21T12:16:47.877Z

Reserved: 2026-09-21T12:16:44.364Z

Link: CVE-2026-94373

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-09-21T13:17:12.757

Modified: 2026-09-21T13:17:12.857

Link: CVE-2026-94373

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-21T13:30:16Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')