Description
MISP's galaxy matrix statistics view (app/View/Users/statistics_galaxymatrix.ctp) renders the galaxy name directly into HTML output via sprintf() without any HTML encoding. An authenticated user holding the perm_galaxy_editor permission can create or modify a galaxy whose name contains arbitrary HTML or JavaScript markup. Because the value is interpolated verbatim into the page, any user who subsequently opens the galaxy matrix statistics page will have the embedded script executed in their browser context. This enables session hijacking, credential theft, data exfiltration, or the performance of arbitrary actions on behalf of the victim within the MISP application.

Version affected: <2.5.47
Published: 2026-09-21
Score: 6.3 Medium
EPSS: n/a
KEV: No
Impact: Cross‑Site Scripting enabling session hijacking and arbitrary browser‑side code execution.
Action: Immediate Patch
AI Analysis

Impact

The vulnerability allows an authenticated user with perm_galaxy_editor permission to create or modify a galaxy whose name contains arbitrary HTML or JavaScript. The name is interpolated verbatim into the galaxy matrix statistics page via sprintf without HTML encoding. When any user opens that page, the embedded script executes in the victim’s browser, allowing the attacker to hijack the user session, steal credentials, exfiltrate data or perform unauthorized actions within the MISP application.

Affected Systems

The CVE affects the MISP open‑source security information platform (MISP) deployed at versions older than 2.5.47. The vulnerable code resides in the view file statistics_galaxymatrix.ctp within the application.

Risk and Exploitability

The CVSS score of 6.3 classifies this as moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting no confirmed widespread exploitation yet. An attacker must first be authenticated and possess the perm_galaxy_editor capability. Once a malicious galaxy is created, the stored script will impact any authenticated user that later views the statistics page, resulting in potential session theft or other browser‑side attacks. The risk therefore depends on the attacker’s ability to obtain the required permissions and the exposure of users to the vulnerable page. Given the requirement for privilege and the lack of observed exploits, the likelihood of exploitation is considered low to moderate.

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

Remediation

Vendor Solution

The fix applies CakePHP's h() HTML-encoding function to the $galaxyName variable before it is passed to sprintf() for HTML output, ensuring that any special characters (angle brackets, quotes, etc.) in the galaxy name are percent-encoded and rendered as inert text rather than executable markup.


OpenCVE Recommended Actions

  • Apply the official patch that encodes $galaxyName with CakePHP’s h() function before sprintf.
  • Upgrade MISP to version 2.5.47 later.
  • Restrict the perm_galaxy_editor permission to trusted personnel only.
  • If an upgrade is not immediate, temporarily disable access to the galaxy matrix statistics page until the patch is applied.
  • Review existing galaxy names and remove or sanitize any that contain disallowed characters.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

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

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

Type Values Removed Values Added
Description MISP's galaxy matrix statistics view (app/View/Users/statistics_galaxymatrix.ctp) renders the galaxy name directly into HTML output via sprintf() without any HTML encoding. An authenticated user holding the perm_galaxy_editor permission can create or modify a galaxy whose name contains arbitrary HTML or JavaScript markup. Because the value is interpolated verbatim into the page, any user who subsequently opens the galaxy matrix statistics page will have the embedded script executed in their browser context. This enables session hijacking, credential theft, data exfiltration, or the performance of arbitrary actions on behalf of the victim within the MISP application. Version affected: <2.5.47
Title Stored Cross-Site Scripting in MISP Galaxy Matrix Statistics via Unescaped Galaxy Name
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:L/VI:L/VA:N/SC:H/SI:H/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: CIRCL

Published:

Updated: 2026-09-21T11:16:10.434Z

Reserved: 2026-09-21T09:25:02.306Z

Link: CVE-2026-94277

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-09-21T10:17:17.570

Modified: 2026-09-21T10:17:17.710

Link: CVE-2026-94277

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-21T11:30:09Z

Weaknesses
  • CWE-79

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