MISP Cross-Site Scripting via Unescaped Remote UUIDs and IDs in Event Previews
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| MISP | MISP | affected |
|
No data.
No data.
No data available yet.
Vendor Solution
The vulnerability is remediated by ensuring all remote UUID and ID values are properly escaped for their output context. In HTML contexts, values are now passed through the HTML-encoding function. In inline JavaScript handler contexts, values are serialized using JSON encoding before being HTML-encoded, producing a valid JavaScript string literal that cannot be broken out of. This prevents both HTML injection and JavaScript injection from attacker-controlled remote identifiers.
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Description | MISP contains a cross-site scripting (XSS) vulnerability in the feed and server event preview pages. When a remote MISP instance (configured as a feed source or connected server) supplies object or reference UUIDs and IDs containing special characters, these values are rendered in the preview HTML without proper escaping. The vulnerable behavior occurs in two contexts: - HTML element identifiers and text content: Remote UUIDs and IDs are inserted into DOM element IDs and visible text without HTML encoding, allowing injection of arbitrary HTML markup. - Inline JavaScript event handlers: Remote UUIDs and IDs are embedded into onClick handler strings using only HTML escaping, which does not protect against JavaScript string-literal breakout. A crafted value containing a single quote can terminate the string and inject arbitrary JavaScript. An attacker who controls a remote MISP instance (feed or server peer) can craft UUID or ID fields with a malicious payload. When an authenticated user on the victim instance views the corresponding event preview, the injected script executes in the user's browser within the MISP application origin, potentially allowing session hijacking, data exfiltration, or unauthorized actions on behalf of the user. Affected: MISP versions prior to 2.5.52. | |
| Title | MISP Cross-Site Scripting via Unescaped Remote UUIDs and IDs in Event Previews | |
| First Time appeared |
Misp
Misp misp |
|
| Weaknesses | CWE-79 | |
| CPEs | cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Misp
Misp misp |
|
| References |
| |
| Metrics |
cvssV4_0
|
No data.
No data.
No data.
No data.