Description
MISP contains a stored cross-site scripting (XSS) vulnerability in the admin email composition screen. The MISP.org organization name setting was interpolated directly into a JavaScript string literal using an unescaped PHP echo: var org = "<?php echo $org;?>";. Because the value was placed inside a double-quoted JavaScript string without any encoding, an organization name containing a double-quote character (or a backslash) could terminate the string literal and inject arbitrary JavaScript into the page. The injected script would execute in the context of any authenticated user who subsequently loads the admin email page, potentially allowing session hijacking, data exfiltration, or privileged actions performed on behalf of the victim.

Exploitation requires the ability to set or modify the MISP.org organization name and a second authenticated user visiting the affected admin email view.

The vulnerability is a classic instance of insufficient output encoding in a JavaScript context.
Published: 2026-09-22
Score: 4.8 Medium
EPSS: n/a
KEV: No
Impact: Stored Cross‑Site Scripting via unescaped organization name within a JavaScript string literal
Action: Apply Patch
AI Analysis

Impact

The vulnerability arises when the organization name configured for MISP.org is inserted into a JavaScript string on the admin email composition page without any escaping. An attacker who can set or modify that name can include a double‑quote or backslash to terminate the string literal and inject arbitrary JavaScript. When a second authenticated user later opens the view, the malicious code runs in the victim’s browser session, enabling session hijacking, data exfiltration, or the execution of privileged actions on behalf of the target. The weakness is an instance of insufficient output encoding in a JavaScript context, as identified by CWE‑79.

Affected Systems

Any MISP installation that stores the MISP.org organization name in the database and renders it directly into a JavaScript string is affected. It is inferred that self‑hosted deployments, where administrators control the organization name setting locally, are the most likely to remain vulnerable until the vendor patch is applied. Managed or cloud‑hosted services that have already applied the patch are not affected.

Risk and Exploitability

The CVSS score of 4.8 indicates moderate impact, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated user with permission to edit the organization name and a second authenticated user who subsequently visits the vulnerable page. The EPSS score is unavailable, so the likelihood of exploitation is uncertain, but the static nature of the stored payload means that once injected, the payload will affect every subsequent user who views the page. The attack surface is limited to systems where both conditions are met, yet the consequences for each victim can be significant due to the nature of the XSS payload.

Generated by OpenCVE AI on September 22, 2026 at 16:51 UTC.

Remediation

Vendor Solution

The fix replaces the raw PHP echo of the organization name with a json_encode() call using the flags JSON_HEX_TAG, JSON_HEX_AMP, JSON_HEX_APOS, and JSON_HEX_QUOT. This produces a properly escaped JavaScript string literal that neutralizes quotes, angle brackets, ampersands, and other metacharacters, preventing breakout from the string context and subsequent script injection.


OpenCVE Recommended Actions

  • Apply the vendor patch that replaces the raw PHP echo of the organization name with a json_encode() call using JSON_HEX flags to escape all typographic characters
  • If patching is not immediately possible, enforce that the MISP.org organization name contains no double quotes, backslashes, or other characters that can break the JavaScript string context
  • Restrict editing of the organization name to administrators only, reducing the window of opportunity for an attacker to inject malicious content

Generated by OpenCVE AI on September 22, 2026 at 16:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

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

Tue, 22 Sep 2026 14:15:00 +0000

Type Values Removed Values Added
Description MISP contains a stored cross-site scripting (XSS) vulnerability in the admin email composition screen. The MISP.org organization name setting was interpolated directly into a JavaScript string literal using an unescaped PHP echo: var org = "<?php echo $org;?>";. Because the value was placed inside a double-quoted JavaScript string without any encoding, an organization name containing a double-quote character (or a backslash) could terminate the string literal and inject arbitrary JavaScript into the page. The injected script would execute in the context of any authenticated user who subsequently loads the admin email page, potentially allowing session hijacking, data exfiltration, or privileged actions performed on behalf of the victim. Exploitation requires the ability to set or modify the MISP.org organization name and a second authenticated user visiting the affected admin email view. The vulnerability is a classic instance of insufficient output encoding in a JavaScript context.
Title MISP Stored Cross-Site Scripting via Unescaped Organization Name in Admin Email View
Weaknesses CWE-79
References
Metrics cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: CIRCL

Published:

Updated: 2026-09-22T15:31:09.389Z

Reserved: 2026-09-22T13:56:48.812Z

Link: CVE-2026-95682

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-09-22T14:17:22.627

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

Link: CVE-2026-95682

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-22T17:00:12Z

Weaknesses
  • CWE-79

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