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

State
Published
Severity
6.2 Medium
Published
Nov 23, 2026
Updated
Nov 24, 2026
Reserved
Nov 23, 2026

Read the record on cve.org

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.

ProductVersions
MISP MISPbefore 2.5.52 Affected

Weaknesses

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

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.