CVE-2026-95665: MISP Reflected Cross-Site Scripting in Event Export Confirmation Form via Unescaped JSON

Published Sep 22, 2026
·
Updated

MISP contains a reflected cross-site scripting (XSS) vulnerability in the event REST search export confirmation form. The view template app/View/Events/ajax/eventRestSearchExportConfirmationForm.ctp renders a URL-supplied event ID list into a single-quoted JavaScript string literal using PHP's jsonencode() without any hex-encoding flags. By default, jsonencode() escapes double quotes and backslashes but does not escape single quotes. Because the JavaScript string is delimited by single quotes, an attacker can inject a single-quote character to terminate the string literal and execute arbitrary JavaScript in the victim's browser session.

The vulnerability affects the Default and UiBeta themes, both of which render this view. The Overmind theme's own copy of the form already passed the value through an escaped data attribute and was not affected by this specific sink.

Preconditions: the victim must be an authenticated MISP user and must actively open or navigate to the attacker-crafted URL. The attacker does not require an account or any prior access to the MISP instance.

Security impact: successful exploitation allows execution of arbitrary JavaScript in the context of the MISP web application, potentially leading to session hijacking, unauthorized actions performed on behalf of the victim, exfiltration of sensitive data visible in the session, or further client-side attacks. The vulnerable component's own confidentiality, integrity, and availability are not directly compromised; the impact is on the underlying user session.

Affected Software

1 affected component
Misp Project Misp

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Add JSON_HEX_TAG, JSON_HEX_APOS, JSON_HEX_QUOT, and JSON_HEX_AMP to the json_encode() call at the rendering sink so angle brackets, single quotes, double quotes, and ampersands are hex-encoded.

    MISP event REST search export confirmation form (app/View/Events/ajax/eventRestSearchExportConfirmationForm.ctp) json_encode() flags = JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP

Event History

Sep 22, 2026
CVE Published
via MITRE·01:01 PM
Data Sourced
via MITRE·01:01 PM
RemedyDescriptionWeakness

Frequently Asked Questions

1

Which MISP themes are affected?

The Default and UiBeta themes are affected because they render the vulnerable confirmation-form view. The Overmind theme is not affected by this specific sink because its copy of the form passes the value through an escaped data attribute.

2

Does an attacker need a MISP account or prior access to exploit this?

No. The attacker does not need an account or prior access to the MISP instance, but must cause an authenticated MISP user to actively open or navigate to an attacker-crafted URL.

3

Who can be impacted by successful exploitation?

Authenticated MISP users who open the crafted URL can have arbitrary JavaScript executed in their browser session in the MISP context.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203