CVE-2026-135236

MISP Stored Cross-Site Scripting via Unescaped GPX and GeoJSON Attachment Text in Map Popups

Published Nov 23, 2026 CVSS 4.0 · 6.2 Medium EPSS n/a KEV · Not listed
Description
MISP contains a stored cross-site scripting (XSS) vulnerability in its map attachment rendering. When a GPX or GeoJSON file is uploaded as an attachment to a MISP event, the waypoint names (GPX) and property names and values (GeoJSON) are inserted into Leaflet map popups without HTML escaping. Because Leaflet renders popup content as raw HTML, any markup or script embedded in those fields is executed in the browser of every user who views the map and interacts with the affected marker or icon.

Preconditions:
- An authenticated user with permission to upload attachments to a MISP event crafts a GPX or GeoJSON file containing malicious HTML/JavaScript in waypoint names or GeoJSON property keys/values.
- A victim user views the event map and clicks the affected marker or GeoJSON icon, triggering the popup.

Impact:
- Execution of arbitrary JavaScript in the context of the MISP web application, potentially leading to session hijacking, data exfiltration, or unauthorized actions performed on behalf of the victim.

Affected versions: MISP prior to 2.5.52.

Analysis

AI-generated

Technical impact

MISP’s map attachment rendering allows a stored cross‑site scripting flaw. When an authenticated user uploads a GPX or GeoJSON file that contains malicious HTML or JavaScript in waypoint names or property keys/values, those strings are inserted into Leaflet map popups without escaping. Clicking the affected marker causes the victim’s browser to execute the embedded script in the context of the MISP web application, enabling session hijacking, data theft or further actions on the victim’s behalf.

Affected Systems

MISP releases prior to version 2.5.52 are affected. The vulnerability applies to the MISP product from the MISP organisation, regardless of deployment environment, as it is a stored XSS vector that can be triggered by any user who views a map containing a malicious attachment.

Risk and Exploitability

The CVSS score of 6.2 classifies the flaw as medium severity; the EPSS score is not available, and it is not listed in CISA’s KEV catalog. Exploitation requires an authenticated attacker to upload a crafted file and a separate, unauthenticated victim to click the resulting map icon. The threat is limited to users who have permissions to view the event map, but the impact of the controlled script is potentially significant in the attacker’s view. Overall, the risk is moderate, with a realistic likelihood of exploitation in environments where upload permissions are broadly granted and map viewing is common.

Remediation

Vendor Solution

The fix introduces HTML escaping of all user-controlled text (GPX waypoint names, GeoJSON property keys, and GeoJSON property values) before it is passed to the Leaflet popup binding function. This ensures that any HTML or script content originating from uploaded attachments is rendered as inert text rather than executable markup, neutralizing the stored XSS vector.


OpenCVE Recommended Actions

  • Upgrade MISP to version 2.5.52 or later to apply the HTML‑escaping fix for GPX and GeoJSON attachment fields.
  • Restrict the ability to upload attachments to trusted users only, reducing the chance that a malicious GPX or GeoJSON file is created.
  • Remove or sanitize existing attachments that may contain embedded HTML or JavaScript before they can be rendered in map popups.

Generated by OpenCVE AI on November 23, 2026 at 16:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description MISP contains a stored cross-site scripting (XSS) vulnerability in its map attachment rendering. When a GPX or GeoJSON file is uploaded as an attachment to a MISP event, the waypoint names (GPX) and property names and values (GeoJSON) are inserted into Leaflet map popups without HTML escaping. Because Leaflet renders popup content as raw HTML, any markup or script embedded in those fields is executed in the browser of every user who views the map and interacts with the affected marker or icon. Preconditions: - An authenticated user with permission to upload attachments to a MISP event crafts a GPX or GeoJSON file containing malicious HTML/JavaScript in waypoint names or GeoJSON property keys/values. - A victim user views the event map and clicks the affected marker or GeoJSON icon, triggering the popup. Impact: - Execution of arbitrary JavaScript in the context of the MISP web application, potentially leading to session hijacking, data exfiltration, or unauthorized actions performed on behalf of the victim. Affected versions: MISP prior to 2.5.52.
Title MISP Stored Cross-Site Scripting via Unescaped GPX and GeoJSON Attachment Text in Map Popups
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

{'score': 6.2, '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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
CIRCL
Published
Updated
Nov 23, 2026, 3:39 PM
Reserved
Nov 23, 2026, 3:39 PM
Status
Deferred
Published
Nov 23, 2026, 4:17 PM
Modified
Nov 23, 2026, 4:17 PM