CVE-2026-135236 PUBLISHED

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

Assigner: CIRCL
Reserved: 23.11.2026 Published: 23.11.2026 Updated: 23.11.2026

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.

Metrics

CVSS 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
CVSS Score: 6.2

Product Status

Vendor MISP
Product MISP
Versions
  • affected from 0 to 2.5.52 (excl.)

Solutions

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.

Credits

  • ENISA reporter
  • iglocska remediation developer
  • Claude Opus 5.5 remediation developer

References

Problem Types

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

Impacts

  • CAPEC-1 Cross Site Scripting (XSS)