CVE-2026-95661

MISP Reflected Cross-Site Scripting in Attribute Histogram via Unescaped URL-Supplied Type List

Published Sep 22, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Misp
Misp misp
Vendors & Products Misp
Misp misp
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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
CIRCL
Published
Updated
Sep 22, 2026, 3:34 PM
Reserved
Sep 22, 2026, 12:54 PM
Status
Deferred
Published
Sep 22, 2026, 1:17 PM
Modified
Sep 22, 2026, 4:18 PM