Description
MISP contains a reflected cross-site scripting (XSS) vulnerability in the attribute histogram view. The $selectedTypes variable, which is derived from the URL path segment , was interpolated directly into a JavaScript array literal inside an onClick HTML attribute without any encoding or escaping. An attacker who can cause an authenticated MISP user to visit a crafted URL containing a malicious type value can execute arbitrary JavaScript in the victim's browser within the MISP application origin.

Successful exploitation allows the attacker to read session cookies, perform actions on behalf of the victim, or exfiltrate sensitive data accessible from the MISP interface. 

The vulnerability requires the victim to be authenticated and to actively navigate to the attacker-supplied URL.
Published: 2026-09-22
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Reflected XSS affecting authenticated MISP users
Action: Patch
AI Analysis

Impact

MISP contains a reflected cross‑site scripting vulnerability in the attribute histogram view. The selectedTypes variable, derived from a URL path segment, is inserted directly into a JavaScript array literal inside an onClick HTML attribute without encoding. An attacker who can persuade an authenticated MISP user to visit a crafted URL can execute arbitrary JavaScript in the victim’s browser within the MISP origin. This flaw allows the attacker to read session cookies, perform actions on behalf of the victim, or exfiltrate sensitive data from the interface.

Affected Systems

Affected systems include installations of the MISP open‑source platform that have not applied the commit that replaces the unsafe raw PHP loop with a json_encode() call using JSON_HEX_TAG, JSON_HEX_APOS, JSON_HEX_QUOT, and JSON_HEX_AMP flags. Versions prior to this fix, regardless of patch level, are vulnerable.

Risk and Exploitability

The CVSS score of 5.1 indicates a moderate severity. EPSS is not available, and the vulnerability is not listed in CISA’s KEV catalog. Exploitation requires the victim to be authenticated and to actively navigate to the attacker‑supplied URL, suggesting a social‑engineering or phishing attack vector. Because the vulnerability is reflected and client‑side, the attack surface is limited to users with legitimate MISP access, but the impact on confidentiality, integrity, and availability of the user session is potentially high.

Generated by OpenCVE AI on September 22, 2026 at 15:39 UTC.

Remediation

Vendor Solution

The fix replaces the unsafe raw PHP loop that concatenated type values into a JavaScript array literal with a call to json_encode() using the JSON_HEX_TAG, JSON_HEX_APOS, JSON_HEX_QUOT, and JSON_HEX_AMP flags. This ensures that all special characters (angle brackets, quotes, ampersands) in the type values are hex-encoded, preventing any value from breaking out of the JavaScript string/array context and injecting arbitrary script.


OpenCVE Recommended Actions

  • Update MISP to the version containing the commit that replaces the raw loop with json_encode()
  • Verify that type values are correctly hex‑encoded in the JavaScript array on the attribute histogram page
  • If immediate update is not possible, restrict access to the attribute histogram page or sanitize incoming type values on the server side until the patch can be applied

Generated by OpenCVE AI on September 22, 2026 at 15:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 24 Sep 2026 04:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 22 Sep 2026 16:00:00 +0000

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

Tue, 22 Sep 2026 13:00:00 +0000

Type Values Removed Values Added
Description MISP contains a reflected cross-site scripting (XSS) vulnerability in the attribute histogram view. The $selectedTypes variable, which is derived from the URL path segment , was interpolated directly into a JavaScript array literal inside an onClick HTML attribute without any encoding or escaping. An attacker who can cause an authenticated MISP user to visit a crafted URL containing a malicious type value can execute arbitrary JavaScript in the victim's browser within the MISP application origin. Successful exploitation allows the attacker to read session cookies, perform actions on behalf of the victim, or exfiltrate sensitive data accessible from the MISP interface.  The vulnerability requires the victim to be authenticated and to actively navigate to the attacker-supplied URL.
Title MISP Reflected Cross-Site Scripting in Attribute Histogram via Unescaped URL-Supplied Type List
Weaknesses CWE-79
References
Metrics cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: CIRCL

Published:

Updated: 2026-09-22T15:34:06.853Z

Reserved: 2026-09-22T12:54:43.824Z

Link: CVE-2026-95661

cve-icon Vulnrichment

Updated: 2026-09-22T15:34:03.148Z

cve-icon NVD

Status : Deferred

Published: 2026-09-22T13:17:14.050

Modified: 2026-09-22T16:18:19.497

Link: CVE-2026-95661

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-22T15:45:17Z

Weaknesses
  • CWE-79

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