---
id: CVE-2026-112183
title: MISP CSS Injection via Remote Tag Colour in Event Preview
summary: >-
  MISP contains a CSS injection vulnerability in the remote event preview
  feature. When a user previews an event from a linked MISP server, the colour
  value associated with each remote tag is written directly into an inline CSS
  style attri…
severity: medium
cvss: 4.8
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'
cvssSource: cna
cwe:
  - CWE-74
vendor: MISP
product: MISP
affected:
  - MISP < 2.5.48
published: '2026-10-19'
updated: '2026-10-19'
sourceUpdated: '2026-10-19T09:15:47.453Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-112183'
references:
  - url: 'https://github.com/MISP/MISP/commit/91323b517'
    label: Security patch
tags:
  - cve.org
ingestedAt: '2026-10-19T10:20:55.202Z'
---

## Overview

MISP contains a CSS injection vulnerability in the remote event preview feature. When a user previews an event from a linked MISP server, the colour value associated with each remote tag is written directly into an inline CSS style attribute without sufficient validation. Although HTML entity encoding is applied, the value is interpreted as CSS within the style attribute, allowing a malicious or compromised linked server to inject arbitrary CSS declarations.

An attacker with the ability to create or modify tags on a linked MISP instance can craft a tag colour value containing CSS injection payloads. When a user on the local instance views the event preview, the injected CSS is rendered, potentially allowing UI manipulation, visual spoofing, or limited information disclosure through CSS-based techniques.

Preconditions:

- A linked MISP server relationship exists between the victim instance and the attacker-controlled instance.

- The attacker can create or modify tags on the linked server.

- A victim user views the remote event preview page.

Affected: <2.5.48.

## Affected

- `MISP < 2.5.48`

## Remediation

The fix introduces strict validation of the tag colour value before it is rendered into a CSS style attribute. Only values matching a valid six-digit hexadecimal colour pattern (e.g. #aabbcc) are accepted; any other value is replaced with a safe default (#ffffff). This prevents arbitrary CSS from being injected through the colour field, aligning the remote tag handling with the validation already applied to local tags.
