Skip to main content
Vulnerability Database/CVE-2026-103662

CVE-2026-103662: MISP Legacy Taxonomy XSS Vulnerability

CVE-2026-103662 is a reflected XSS flaw in MISP legacy taxonomy tag management forms that allows attackers to execute JavaScript in admin sessions. This post covers technical details, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-103662 Overview

CVE-2026-103662 is a reflected cross-site scripting (XSS) vulnerability in MISP, the open-source threat intelligence platform. The flaw resides in the legacy taxonomy tag management confirmation forms, specifically the add tag and disable tag views. These forms echo a user-supplied tag name parameter unescaped into rendered HTML output. An attacker who tricks an authenticated site administrator into visiting a crafted URL can execute arbitrary JavaScript in the administrator's browser session. The issue is tracked under [CWE-79] and affects MISP versions prior to 2.5.48.

Critical Impact

Successful exploitation enables theft of session tokens, CSRF tokens, and execution of privileged actions in the MISP interface on behalf of the administrator victim.

Affected Products

  • MISP versions earlier than 2.5.48
  • MISP instances with legacy taxonomy tag confirmation views enabled
  • app/View/Taxonomies/add_tag.ctp and app/View/Taxonomies/disable_tag.ctp view templates

Discovery Timeline

  • 2026-10-01 - CVE-2026-103662 published to NVD
  • 2026-10-01 - Last updated in NVD database

Technical Details for CVE-2026-103662

Vulnerability Analysis

The vulnerability stems from improper output encoding in two CakePHP view templates used for taxonomy tag confirmation workflows. When an administrator initiates an add or disable action on a taxonomy tag, the request data flows into the confirmation form. The views render the tag name directly from $this->request->data['Taxonomy']['name'] into the HTML description string without passing it through the CakePHP h() escaping helper. Any HTML or JavaScript injected in the tag name parameter executes in the administrator's browser.

Exploitation requires three preconditions: a MISP instance running the legacy taxonomy tag confirmation views, an authenticated site administrator as the victim, and successful delivery of the crafted URL. Delivery typically occurs through a phishing link or an attacker-controlled page that redirects the target.

Because the payload runs with the administrator's active session, it can read Document Object Model (DOM) content, exfiltrate CSRF tokens, and invoke authenticated MISP API endpoints. This enables modification of threat intelligence data, user management, or sharing group configuration.

Root Cause

The root cause is missing HTML entity encoding of attacker-controlled input before concatenation into a translated template string. The __() internationalization function does not sanitize substituted values. The developer must explicitly wrap untrusted values with h() to produce safe output.

Attack Vector

The attack is network-based and requires user interaction. An attacker crafts a URL to the MISP taxonomy tag confirmation endpoint containing a malicious tag name payload. The administrator must authenticate to MISP and open the link. The server echoes the payload into the confirmation form, triggering script execution.

text
// Patch applied to app/View/Taxonomies/add_tag.ctp
         'data' => [
             'title' => empty($this->request->params['named']['enable']) ? __('Confirm creation of Taxonomy Tag') : __('Confirm enabling Taxonomy Tag'),
             'description' => __('Tag `%s` will be %s.',
-                $this->request->data['Taxonomy']['name'],
+                h($this->request->data['Taxonomy']['name']),
                 !empty($this->request->params['named']['enable']) ?
                     __('enabled') : (
                     !empty($this->request->params['named']['update']) ? __('updated') : __('created')

// Patch applied to app/View/Taxonomies/disable_tag.ctp
         'form' => $this->Form,
         'data' => [
             'title' => __('Confirm disabling Taxonomy Tag'),
-            'description' => __('Tag `%s` will be disabled.', $this->request->data['Taxonomy']['name']),
+            'description' => __('Tag `%s` will be disabled.', h($this->request->data['Taxonomy']['name'])),
             'model' => $modelForForm,
             'fields' => [

Source: MISP commit 9619083c8. The fix wraps the tag name in the CakePHP h() helper to HTML-encode special characters before rendering.

Detection Methods for CVE-2026-103662

Indicators of Compromise

  • Web server access logs containing requests to /taxonomies/addTag or /taxonomies/disableTag with HTML tag characters, event handlers, or script payloads in query parameters
  • Referrer headers pointing to external domains for taxonomy tag confirmation endpoints
  • Unexpected administrator-initiated actions such as new user creation, role changes, or sharing group modifications shortly after a confirmation form load

Detection Strategies

  • Deploy a Web Application Firewall (WAF) rule to inspect taxonomy tag parameters for angle brackets, javascript: schemes, and common XSS payload fragments
  • Review MISP audit logs for administrator sessions that performed anomalous API calls immediately after visiting taxonomy views
  • Correlate browser-sourced authenticated API traffic with the user's typical workflow baseline

Monitoring Recommendations

  • Enable verbose request logging on the MISP front-end web server and forward to a centralized logging platform
  • Alert on Taxonomy.name POST or GET values containing <, >, or onerror= substrings
  • Monitor for CSRF token reuse patterns that could indicate session replay from stolen tokens

How to Mitigate CVE-2026-103662

Immediate Actions Required

  • Upgrade MISP to version 2.5.48 or later, which contains the output encoding fix
  • Instruct administrators to avoid clicking links to MISP endpoints originating from untrusted email or chat sources
  • Rotate administrator session tokens and CSRF tokens after upgrade if compromise is suspected

Patch Information

The fix was committed to the MISP repository as commit 9619083c8. Both app/View/Taxonomies/add_tag.ctp and app/View/Taxonomies/disable_tag.ctp were updated to pass the tag name through the CakePHP h() HTML escaping helper before rendering it in the confirmation description.

Workarounds

  • Restrict access to the MISP administrative interface to trusted IP ranges using network-level controls
  • Deploy a strict Content Security Policy (CSP) that disallows inline script execution for the MISP web interface
  • Require administrators to use a dedicated browser profile for MISP without active sessions to other sites
bash
# Example nginx Content-Security-Policy header for MISP
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none';" always;

# Verify MISP version after upgrade
cat /var/www/MISP/VERSION.json

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.