CVE-2026-135237 PUBLISHED

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

Assigner: CIRCL
Reserved: 23.11.2026 Published: 23.11.2026 Updated: 23.11.2026

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.

Metrics

CVSS 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
CVSS Score: 6.2

Product Status

Vendor MISP
Product MISP
Versions
  • affected from 0 to 2.5.52 (excl.)

Solutions

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.

Credits

  • ENISA reporter
  • iglocska remediation developer
  • Claude Opus 5.5 remediation developer

References

Problem Types

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') CWE
  • CWE-116 Improper Encoding or Escaping of Output CWE

Impacts

  • CAPEC-126 DOM-based Cross-Site Scripting
  • CAPEC-1 Cross Site Scripting