CVE-2026-135237

MISP DOM-based Cross-Site Scripting via Incomplete Quote Escaping in Event Report Element Templates

Published Nov 23, 2026 CVSS 4.0 · 6.2 Medium EPSS n/a KEV · Not listed
Description
MISP contains a DOM-based Cross-Site Scripting (XSS) vulnerability in the event report element rendering pipeline. The client-side sanitization function used to prepare values for doT templates only escaped ampersand, less-than, and greater-than characters. However, the templates place these values inside double-quoted HTML attributes. Because double-quote and single-quote characters were not escaped, a user with the ability to author or modify report element values could inject a quote character to break out of the attribute context and inject arbitrary HTML or JavaScript that executes in the viewing user's browser.

Preconditions:
- The attacker must be an authenticated user with permission to create or edit event report elements (e.g., a report author).
- A victim must open or view the crafted report in a browser.

Security impact:
- Execution of arbitrary JavaScript in the context of the victim's MISP session.
- Potential theft of session tokens, sensitive data, or unauthorized actions performed on behalf of the victim.

Affected versions: MISP prior to 2.5.52.

Analysis

AI-generated

Technical impact

MISP’s rendering pipeline for event report elements allows a DOM-based Cross‑Site Scripting vulnerability. The client‑side sanitization routine only escaped ampersands and angle brackets, but the rendered values are inserted into double‑quoted HTML attributes by doT templates. Because quote characters were not escaped, an attacker who can create or edit a report element can inject a quote to break out of the attribute and embed arbitrary HTML or JavaScript that runs in the victim’s browser. This flaw falls under CWE‑79 and CWE‑116 and can be leveraged to steal session tokens, view sensitive data, or execute actions on behalf of the victim. The impact is the execution of arbitrary JavaScript in the context of the victim’s authenticated MISP session, potentially leading to credential theft or unauthorized operations.

Affected Systems

The vulnerability affects the MISP platform (v2.5.52 and earlier). Any installation that has not been updated to version 2.5.52 or later is susceptible. The flaw is limited to the event report element rendering feature.

Risk and Exploitability

With a CVSS score of 6.2, the flaw poses a moderate severity risk. The EPSS score is unavailable, and the vulnerability is not listed in CISA’s KEV catalog. The attack requires the attacker to be an authenticated user with permission to create or modify event report elements, and the victim must view the crafted report in a browser. Because these prerequisites are achievable within a typical MISP deployment, the likelihood of exploitation is non‑negligible, especially in environments where users with report editing rights are many and access controls are lax.

Remediation

Vendor Solution

The sanitization function now additionally escapes double-quote characters to " and single-quote characters to ' after the existing ampersand/angle-bracket escaping. This ensures that values placed inside quoted HTML attributes by the doT templates cannot break out of the attribute context, eliminating the DOM-based XSS vector.


OpenCVE Recommended Actions

  • Upgrade to MISP version 2.5.52 or later to apply the patched sanitization that escapes quote characters.
  • If an upgrade cannot be performed immediately, restrict or disable the ability for users to create or edit report elements, or ensure only trusted users have that permission.
  • As a temporary measure, manually sanitize or review report element values to remove unescaped quotes before they are rendered, although this is not a substitute for the official patch.

Generated by OpenCVE AI on November 23, 2026 at 16:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description MISP contains a DOM-based Cross-Site Scripting (XSS) vulnerability in the event report element rendering pipeline. The client-side sanitization function used to prepare values for doT templates only escaped ampersand, less-than, and greater-than characters. However, the templates place these values inside double-quoted HTML attributes. Because double-quote and single-quote characters were not escaped, a user with the ability to author or modify report element values could inject a quote character to break out of the attribute context and inject arbitrary HTML or JavaScript that executes in the viewing user's browser. Preconditions: - The attacker must be an authenticated user with permission to create or edit event report elements (e.g., a report author). - A victim must open or view the crafted report in a browser. Security impact: - Execution of arbitrary JavaScript in the context of the victim's MISP session. - Potential theft of session tokens, sensitive data, or unauthorized actions performed on behalf of the victim. Affected versions: MISP prior to 2.5.52.
Title MISP DOM-based Cross-Site Scripting via Incomplete Quote Escaping in Event Report Element Templates
First Time appeared Misp
Misp misp
Weaknesses CWE-116
CWE-79
CPEs cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*
Vendors & Products Misp
Misp misp
References
Metrics cvssV4_0

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

Weaknesses
  • CWE-116

    Improper Encoding or Escaping of Output

  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
CIRCL
Published
Updated
Nov 23, 2026, 3:39 PM
Reserved
Nov 23, 2026, 3:39 PM
Status
Deferred
Published
Nov 23, 2026, 4:17 PM
Modified
Nov 23, 2026, 4:17 PM