Description
MISP contains a reflected Cross-Site Scripting (XSS) vulnerability in the event attribute filtering query builder. The taggedAttributes and galaxyAttachedAttributes URL parameters were inserted into the query-builder rules without HTML escaping before being serialized as JSON and embedded inside a <script> element.


Because JsonTool::encode() uses JSON_UNESCAPED_SLASHES, an attacker-controlled value containing a closing </script> sequence could terminate the surrounding script element and inject arbitrary HTML or JavaScript. For example, a specially crafted viewEventAttributes URL could contain malicious content in one of the affected filter parameters.


An attacker could exploit the vulnerability by convincing an authenticated MISP user to follow a crafted URL. Successful exploitation would execute attacker-controlled JavaScript in the security context of the MISP instance and with the privileges of the victim's authenticated browser session. This could allow access to information available to the victim, modification of data through authenticated requests, or other actions permitted by the victim's MISP permissions.


The vulnerability is addressed by applying HTML escaping with h() to both scalar and array values before they are inserted into the DOM.
Published: 2026-09-03
Score: 6.1 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability originates from the MISP event attribute filtering query builder where the parameters taggedAttributes and galaxyAttachedAttributes are inserted into a JavaScript context without HTML escaping. When the JsonTool::encode() function renders these values with JSON_UNESCAPED_SLASHES, an attacker can embed a closing </script> sequence in the URL parameters. This terminates the surrounding script tag, allowing arbitrary HTML or JavaScript to be injected and executed in the victim browser. The flaw is a classic reflected Cross‑Site Scripting vulnerability in which malicious code runs in the security context of an authenticated MISP user. Consequently, the attacker can read or modify data that the victim is authorized to see or do.

Affected Systems

All MISP installations that use the event attribute filtering query builder are affected. The CVE does not list specific vulnerable versions, so any pre‑patch instance that processes taggedAttributes or galaxyAttachedAttributes in the described manner is vulnerable.

Risk and Exploitability

The CVSS score is 6.1 (moderate). EPSS is not available, indicating no public information on exploitation probability. The vulnerability is not listed in CISA KEV. Exploitation requires an authenticated user to click a crafted URL; the attacker’s script then runs in the victim’s browser session with the same permissions, allowing data reading or authorized modifications. The attack vector is web application–based and relies on user interaction, making it exploitable in environments lacking script restrictions or robust CSP.

Generated by OpenCVE AI on September 3, 2026 at 17:07 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the official MISP patch that adds HTML escaping (h()) to scalar and array values before they are inserted into the DOM in the event attribute filtering query builder.
  • If a patch is not yet available, manually modify MISP source to wrap the affected taggedAttributes and galaxyAttachedAttributes values with h() before JSON serialization, or remove the use of JSON_UNESCAPED_SLASHES when encoding data sent to client‑side scripts.
  • Configure a restrictive Content Security Policy (e.g., script-src 'self') on the MISP web application to block execution of injected JavaScript until the underlying issue is resolved.

Generated by OpenCVE AI on September 3, 2026 at 17:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Sep 2026 17:00:00 +0000

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

Thu, 03 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 03 Sep 2026 15:00:00 +0000

Type Values Removed Values Added
Description MISP contains a reflected Cross-Site Scripting (XSS) vulnerability in the event attribute filtering query builder. The taggedAttributes and galaxyAttachedAttributes URL parameters were inserted into the query-builder rules without HTML escaping before being serialized as JSON and embedded inside a <script> element. Because JsonTool::encode() uses JSON_UNESCAPED_SLASHES, an attacker-controlled value containing a closing </script> sequence could terminate the surrounding script element and inject arbitrary HTML or JavaScript. For example, a specially crafted viewEventAttributes URL could contain malicious content in one of the affected filter parameters. An attacker could exploit the vulnerability by convincing an authenticated MISP user to follow a crafted URL. Successful exploitation would execute attacker-controlled JavaScript in the security context of the MISP instance and with the privileges of the victim's authenticated browser session. This could allow access to information available to the victim, modification of data through authenticated requests, or other actions permitted by the victim's MISP permissions. The vulnerability is addressed by applying HTML escaping with h() to both scalar and array values before they are inserted into the DOM.
Title Reflected Cross-Site Scripting in MISP Event Filtering via taggedAttributes and galaxyAttachedAttributes Parameters
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 6.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: CIRCL

Published:

Updated: 2026-09-03T14:57:46.804Z

Reserved: 2026-09-03T14:41:58.951Z

Link: CVE-2026-85227

cve-icon Vulnrichment

Updated: 2026-09-03T14:57:30.343Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-09-03T15:17:41.420

Modified: 2026-09-03T16:45:08.223

Link: CVE-2026-85227

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T17:15:06Z

Weaknesses
  • CWE-79

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