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

CVE-2026-112183: MISP Remote Event Preview CSS Injection

CVE-2026-112183 is a CSS injection flaw in MISP that allows attackers on linked servers to inject malicious CSS through tag colour values. This vulnerability enables UI manipulation and visual spoofing attacks. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

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-112183 Overview

CVE-2026-112183 is a Cascading Style Sheets (CSS) injection vulnerability in Malware Information Sharing Platform (MISP) versions prior to 2.5.48. The flaw resides in the remote event preview feature, where tag colour values retrieved from a linked MISP server are written directly into an inline style attribute. HTML entity encoding is applied, but the value is still parsed as CSS, allowing an attacker-controlled linked server to inject arbitrary CSS declarations into the victim's rendered page.

Exploitation requires a linked MISP server relationship, the ability to create or modify tags on that server, and a victim user who views the remote event preview page.

Critical Impact

An attacker controlling a linked MISP instance can inject arbitrary CSS into the victim's event preview, enabling user interface (UI) manipulation, visual spoofing, and limited information disclosure through CSS-based techniques.

Affected Products

  • MISP versions prior to 2.5.48
  • app/View/Servers/preview_event.ctp remote event preview view
  • Instances configured with linked MISP server synchronization

Discovery Timeline

  • 2026-10-19 - CVE-2026-112183 published to the National Vulnerability Database (NVD)
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-112183

Vulnerability Analysis

The vulnerability is classified as Improper Neutralization of Data within an Expression Language Statement [CWE-74], manifesting as CSS injection. In the remote event preview view, MISP iterates over each $event['Tag'] entry and emits an inline style attribute containing background-color:<?= h($tag['colour']);?>. The h() helper performs HTML entity encoding, which protects attributes from HTML-level breakout but does not sanitize CSS syntax inside the attribute value.

Because the browser interprets the attribute content as CSS, an attacker can supply a colour value containing a semicolon followed by additional CSS declarations. Injected declarations can modify layout, overlay content, load external resources through CSS fetches, or leak attribute data via selectors on legacy browsers. The attack is user-interaction dependent, requiring the victim to open the preview page for a remote event.

Root Cause

The root cause is treating a free-form string field as safe for inclusion in a CSS context after applying only HTML entity encoding. The colour field was expected to be a hex colour code, but no server-side validation enforced that format before rendering. Any value synced from the linked server passed through unchecked.

Attack Vector

An attacker with write access to tags on a linked MISP server creates a tag whose colour field contains a crafted CSS payload, for example a string beginning with a valid colour followed by ; and additional declarations. When a user on the local instance browses to the remote event preview, the malicious value is rendered inside the inline style attribute and interpreted by the browser.

text
// Patch: app/View/Servers/preview_event.ctp
 if (Configure::read('MISP.tagging')) {
     ob_start();
-    if (!empty($event['Tag'])): foreach ($event['Tag'] as $tag): ?>
+    if (!empty($event['Tag'])): foreach ($event['Tag'] as $tag):
+        $colour = preg_match('/^#[0-9a-f]{6}$/i', $tag['colour'] ?? '') ? $tag['colour'] : '#ffffff'; ?>
     <span style="padding-right:0;">
-        <span ... style="background-color:<?= h($tag['colour']);?>;color:<?= $this->TextColour->getTextColour($tag['colour']);?>">...
+        <span ... style="background-color:<?= $colour ?>;color:<?= $this->TextColour->getTextColour($colour);?>">...
     </span>

The fix validates the tag colour against a strict hex pattern and substitutes #ffffff when the value does not match. Source: MISP commit 91323b517.

Detection Methods for CVE-2026-112183

Indicators of Compromise

  • Tag colour fields on linked MISP servers containing values that do not match the pattern ^#[0-9a-f]{6}$.
  • Remote tag records whose colour attribute contains ;, {, }, url(, expression(, or /* characters.
  • Browser requests from analyst workstations to unexpected external hosts triggered during remote event preview page loads.

Detection Strategies

  • Query the MISP database for Tag.colour values that fail hex-colour validation and flag them for review before syncing.
  • Inspect reverse proxy or Content Security Policy (CSP) violation logs for CSS-based resource loads originating from the /servers/previewEvent route.
  • Review MISP server audit logs for recently added or modified tags on linked instances that precede abnormal preview activity.

Monitoring Recommendations

  • Enable a strict CSP that forbids inline styles or restricts style-src and img-src to trusted origins on the MISP web interface.
  • Alert on outbound network connections from analyst browsers to domains referenced in CSS url(...) declarations during MISP sessions.
  • Track linked-server trust relationships and generate alerts when new servers are added or when sync pulls large volumes of modified tags.

How to Mitigate CVE-2026-112183

Immediate Actions Required

  • Upgrade MISP to version 2.5.48 or later on all instances that preview events from linked servers.
  • Audit all tags synchronized from linked servers and remove or correct any colour values that are not valid six-digit hex codes.
  • Review and prune linked MISP server relationships, retaining only those with established trust and operational need.

Patch Information

The vendor fix is implemented in MISP commit 91323b517, which modifies app/View/Servers/preview_event.ctp to validate the colour field against /^#[0-9a-f]{6}$/i before emitting it into the inline style attribute. Values failing validation default to #ffffff. See the MISP commit 91323b517 for the complete change.

Workarounds

  • Temporarily disable the remote event preview workflow or restrict access to the /servers/previewEvent route until patching is complete.
  • Deploy a Content Security Policy header that disallows inline styles and blocks CSS-sourced external requests on the MISP interface.
  • Remove linked server trust for any instance that cannot be independently verified as controlled by a trusted partner.
bash
# Example CSP header to limit CSS injection impact (adjust origins to environment)
add_header Content-Security-Policy "default-src 'self'; style-src 'self'; img-src 'self' data:; connect-src 'self'; frame-ancestors 'none'";

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.