guest@ro0t: ~ — bash theme: [green] [amber]

guest@ro0t:~$ echo $MOTD

notes, code and logs from the superuser

guest@ro0t:~/cve$ cat cve-2026-135237.md

[MEDIUM 6.2] # CVE-2026-135237: MISP contains a DOM-based Cross-Site Scripting (XSS) vulnerability in the event report element rendering pipel...

by darthoreo · · in cve/

#cwe-116 #cwe-79 #medium

CVE-2026-135237 · severity: MEDIUM · CVSS 6.2 (v4.0)

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.

Details

  • status: Deferred
  • published: 2026-11-23 11:17 EST
  • last modified: 2026-11-23 11:17 EST
  • weakness: CWE-79, CWE-116
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

References

-- EOF --

[ cd .. ]