GCVE-1-2026-20429 (CVE-2026-135236)

Vulnerability from gna-1 – Published: 2026-11-23 15:37 – Updated: 2026-11-23 15:39
VLAI
Title
MISP Stored Cross-Site Scripting via Unescaped GPX and GeoJSON Attachment Text in Map Popups
Summary
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.
SSVC
Exploitation: none Automatable: yes Technical Impact: partial
Supplier · CNA (v2.0.3)
Decision recorded 2026-11-23 09:38 UTC
CWE
  • CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Assigner
CIRCL GNA GNA-1
GNA scorecard A 93/100 over 349 records in the last 180 days details
References
Impacted products
Vendor Product Version CPE status
MISP MISP Affected: 0 , < 2.5.52 (semver)
    cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*
Create a notification for this product.
GCVE extensions
bcp-05-x-01
AI-assisted vulnerability information annotation
GCVE-BCP-05-X-01
Whole record AI-generated Human-reviewed GNA-1

Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.

ai-computer-assisted:llm-generatedai-computer-assisted:classification
Model Source Identifier
qwen3.8:27b ollama qwen3.8:27b
bcp-05-x-02
Patch-to-vulnerability generation provenance
GCVE-BCP-05-X-02
Generator
patch2vuln.py on 2026-11-23 09:38
Model
qwen3.8:27b
Input
https://github.com/MISP/MISP/commit/c01dd99bbd9cf2d6e6071250e8d8f9315ea54353 e98097fbf548…
Confidence
high
Commit Subject Patch SHA-256
c01dd99bbd9c fix: [security] Escape attachment text in the GPX and GeoJSON e98097fbf548…
Fix summary

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.

Patch summary

In app/webroot/js/misp.js, three call sites were modified: (1) the GPX waypoint name passed to marker.bindPopup() is now wrapped in escapeHtml(); (2) the GeoJSON property key in the popup HTML string is wrapped in escapeHtml(); (3) the GeoJSON property value is cast to String and wrapped in escapeHtml(). Two new test files were added: app/Test/js/GeoMapPopups.test.mjs verifies that both GPX and GeoJSON popup content is properly escaped, and app/Test/js/browserScript.mjs provides a helper to load non-module browser scripts into a Node vm context for testing.

CVSS rationale

AV:N - MISP is a web application accessed over the network. AC:L - the attack requires only uploading a crafted file and waiting for a victim to view the map; no race conditions or special timing. AT:N - no special targeting beyond knowing a victim will view the event. PR:L - the attacker needs an authenticated account with permission to upload attachments to an event. UI:A - the victim must actively click the map marker or GeoJSON icon to trigger the popup. VC/VI/VA:N - the server-side MISP application is not directly compromised; the impact is client-side. SC:H - the injected script can read cookies, session tokens, and sensitive page data. SI:H - the script can modify the DOM, submit forms, or perform actions as the victim. SA:N - availability of the victim's session is not typically impacted.

Weakness rationale
  • CWE-79 User-controlled text from uploaded GPX/GeoJSON attachments is inserted into HTML popup content without escaping, allowing script injection. This is a classic stored XSS via insufficient output encoding.
Attack pattern rationale
  • CAPEC-1 The vulnerability is a stored XSS: an attacker embeds a script payload in an uploaded attachment (GPX waypoint name or GeoJSON property), and the payload is rendered as HTML in the victim's browser when the map popup is displayed. CAPEC-1 is the general XSS pattern and the closest match. CAPEC-64 (DOM-based XSS) was considered but the payload originates from stored data rather than client-side DOM manipulation, making CAPEC-1 the more accurate mapping.
Assumptions to verify
  • PR:L assumes the attacker needs a low-privilege authenticated MISP account with attachment upload permission; the commit message states 'any event author can upload', supporting this.
  • UI:A assumes the victim must click a map marker or GeoJSON icon to trigger the popup; if popups auto-open on map load, UI could be N.
  • SC:H and SI:H assume the XSS can access the full browser context (cookies, DOM, network requests) typical of same-origin script execution.
  • The CAPEC-1 mapping is the closest general XSS pattern; a more specific DOM-based XSS CAPEC was considered but the payload is stored in server-side attachment data rather than injected via client-side DOM manipulation.
  • Affected version range is inferred from the explicit context (fixed in 2.5.52); no lower bound is specified, so all prior versions are assumed affected.
  • The 'affected_version: 0' in metadata is interpreted as 'all versions before the fix' rather than a literal version string.
Model comparison

Selected qwen3.8:27b by deterministic-consensus-v1
The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required.

Model Score Agreement Confidence Assumptions
qwen3.8:27b 7 11 high 6
bcp-05-x-03
Vulnerability handling and disclosure timeline
GCVE-BCP-05-X-03
  1. 2026-11-15 23:16 UTC Fix developed Corrective change authored (c01dd99bbd9cf2d6e6071250e8d8f9315ea54353): fix: [security] Escape attachment text in the GPX and GeoJSON https://github.com/MISP/MISP/commit/c01dd99bbd9cf2d6e6071250e8d8f9315ea54353
  2. 2026-11-23 09:37 UTC Fix available Patch retrieved from the supplied URL; retrieval time is used as the default availability time. https://github.com/MISP/MISP/commit/c01dd99bbd9cf2d6e6071250e8d8f9315ea54353

{
  "containers": {
    "cna": {
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*"
          ],
          "modules": [
            "Map attachment rendering (GPX/GeoJSON popups)"
          ],
          "product": "MISP",
          "programFiles": [
            "app/webroot/js/misp.js"
          ],
          "repo": "https://github.com/MISP/MISP",
          "vendor": "MISP",
          "versions": [
            {
              "lessThan": "2.5.52",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "reporter",
          "value": "ENISA"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "iglocska"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Claude Opus 5.5"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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.\n\nPreconditions:\n- 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.\n- A victim user views the event map and clicks the affected marker or GeoJSON icon, triggering the popup.\n\nImpact:\n- 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.\n\nAffected versions: MISP prior to 2.5.52."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-1",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-1 Cross Site Scripting (XSS)"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 6.2,
            "baseSeverity": "MEDIUM",
            "privilegesRequired": "LOW",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "HIGH",
            "subIntegrityImpact": "HIGH",
            "userInteraction": "ACTIVE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "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",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "NONE",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "format": "SSVC",
          "other": {
            "content": {
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "role": "Supplier",
              "timestamp": "2026-11-23T09:38:10Z",
              "version": "2.0.3"
            },
            "type": "SSVC"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-79",
              "description": "CWE-79 Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "00000000-0000-4000-8000-000000000000"
      },
      "references": [
        {
          "name": "Security patch",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/MISP/MISP/commit/c01dd99bbd9cf2d6e6071250e8d8f9315ea54353"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "title": "MISP Stored Cross-Site Scripting via Unescaped GPX and GeoJSON Attachment Text in Map Popups",
      "x_gcve": [
        {
          "extensions": {
            "bcp-05-x-01": {
              "ai_annotations": [
                {
                  "ai_level": "generated",
                  "description": "Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.",
                  "gna_source": 1,
                  "models": [
                    {
                      "gna_source": 1,
                      "identifier": "qwen3.8:27b",
                      "name": "qwen3.8:27b",
                      "source": "ollama"
                    }
                  ],
                  "review_status": "full",
                  "scope": "record",
                  "tags": [
                    "ai-computer-assisted:llm-generated",
                    "ai-computer-assisted:classification"
                  ]
                }
              ]
            },
            "bcp-05-x-02": {
              "x_patch2vuln": {
                "assumptions": [
                  "PR:L assumes the attacker needs a low-privilege authenticated MISP account with attachment upload permission; the commit message states \u0027any event author can upload\u0027, supporting this.",
                  "UI:A assumes the victim must click a map marker or GeoJSON icon to trigger the popup; if popups auto-open on map load, UI could be N.",
                  "SC:H and SI:H assume the XSS can access the full browser context (cookies, DOM, network requests) typical of same-origin script execution.",
                  "The CAPEC-1 mapping is the closest general XSS pattern; a more specific DOM-based XSS CAPEC was considered but the payload is stored in server-side attachment data rather than injected via client-side DOM manipulation.",
                  "Affected version range is inferred from the explicit context (fixed in 2.5.52); no lower bound is specified, so all prior versions are assumed affected.",
                  "The \u0027affected_version: 0\u0027 in metadata is interpreted as \u0027all versions before the fix\u0027 rather than a literal version string."
                ],
                "capecRationale": [
                  {
                    "capecId": "CAPEC-1",
                    "rationale": "The vulnerability is a stored XSS: an attacker embeds a script payload in an uploaded attachment (GPX waypoint name or GeoJSON property), and the payload is rendered as HTML in the victim\u0027s browser when the map popup is displayed. CAPEC-1 is the general XSS pattern and the closest match. CAPEC-64 (DOM-based XSS) was considered but the payload originates from stored data rather than client-side DOM manipulation, making CAPEC-1 the more accurate mapping."
                  }
                ],
                "commit": "c01dd99bbd9cf2d6e6071250e8d8f9315ea54353",
                "confidence": "high",
                "credits": [
                  {
                    "lang": "en",
                    "type": "reporter",
                    "value": "ENISA"
                  },
                  {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "iglocska"
                  },
                  {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "Claude Opus 5.5"
                  },
                  {
                    "lang": "en",
                    "type": "tool",
                    "value": "Claude Opus 5.5"
                  }
                ],
                "cvssRationale": "AV:N - MISP is a web application accessed over the network. AC:L - the attack requires only uploading a crafted file and waiting for a victim to view the map; no race conditions or special timing. AT:N - no special targeting beyond knowing a victim will view the event. PR:L - the attacker needs an authenticated account with permission to upload attachments to an event. UI:A - the victim must actively click the map marker or GeoJSON icon to trigger the popup. VC/VI/VA:N - the server-side MISP application is not directly compromised; the impact is client-side. SC:H - the injected script can read cookies, session tokens, and sensitive page data. SI:H - the script can modify the DOM, submit forms, or perform actions as the victim. SA:N - availability of the victim\u0027s session is not typically impacted.",
                "fixSummary": "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.",
                "generatedAt": "2026-11-23T09:38:10.003167Z",
                "generator": "patch2vuln.py",
                "model": "qwen3.8:27b",
                "modelComparison": {
                  "potentialErrors": [],
                  "rankings": [
                    {
                      "agreementScore": 11,
                      "assumptionCount": 6,
                      "confidence": "high",
                      "model": "qwen3.8:27b",
                      "score": 7
                    }
                  ],
                  "selectedModel": "qwen3.8:27b",
                  "selectionMethod": "deterministic-consensus-v1",
                  "selectionNotice": "The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required."
                },
                "patchSha256": "e98097fbf548a27c69e3d27bf42ac3486ab4e4b6228262da48239d8d9c3dafa2",
                "patchSummary": "In app/webroot/js/misp.js, three call sites were modified: (1) the GPX waypoint name passed to marker.bindPopup() is now wrapped in escapeHtml(); (2) the GeoJSON property key in the popup HTML string is wrapped in escapeHtml(); (3) the GeoJSON property value is cast to String and wrapped in escapeHtml(). Two new test files were added: app/Test/js/GeoMapPopups.test.mjs verifies that both GPX and GeoJSON popup content is properly escaped, and app/Test/js/browserScript.mjs provides a helper to load non-module browser scripts into a Node vm context for testing.",
                "patchTruncated": false,
                "patches": [
                  {
                    "commit": "c01dd99bbd9cf2d6e6071250e8d8f9315ea54353",
                    "date": "Mon, 16 Nov 2026 00:16:16 +0100",
                    "patchSha256": "e98097fbf548a27c69e3d27bf42ac3486ab4e4b6228262da48239d8d9c3dafa2",
                    "retrievedAt": "2026-11-23T09:37:39.200341Z",
                    "source": "https://github.com/MISP/MISP/commit/c01dd99bbd9cf2d6e6071250e8d8f9315ea54353",
                    "sourceUrl": "https://github.com/MISP/MISP/commit/c01dd99bbd9cf2d6e6071250e8d8f9315ea54353",
                    "subject": "fix: [security] Escape attachment text in the GPX and GeoJSON"
                  }
                ],
                "source": "https://github.com/MISP/MISP/commit/c01dd99bbd9cf2d6e6071250e8d8f9315ea54353",
                "ssvc": {
                  "options": [
                    {
                      "Exploitation": "none"
                    },
                    {
                      "Automatable": "yes"
                    },
                    {
                      "Technical Impact": "partial"
                    }
                  ],
                  "role": "Supplier",
                  "timestamp": "2026-11-23T09:38:10Z",
                  "version": "2.0.3"
                },
                "subject": "fix: [security] Escape attachment text in the GPX and GeoJSON",
                "weaknessRationale": [
                  {
                    "cweId": "CWE-79",
                    "rationale": "User-controlled text from uploaded GPX/GeoJSON attachments is inserted into HTML popup content without escaping, allowing script injection. This is a classic stored XSS via insufficient output encoding."
                  }
                ]
              }
            },
            "bcp-05-x-03": {
              "x_timeline": {
                "events": [
                  {
                    "description": "Corrective change authored (c01dd99bbd9cf2d6e6071250e8d8f9315ea54353): fix: [security] Escape attachment text in the GPX and GeoJSON",
                    "id": "evt-fix-developed-1",
                    "references": [
                      "https://github.com/MISP/MISP/commit/c01dd99bbd9cf2d6e6071250e8d8f9315ea54353"
                    ],
                    "timestamp": "2026-11-15T23:16:16Z",
                    "type": "fix-developed"
                  },
                  {
                    "description": "Patch retrieved from the supplied URL; retrieval time is used as the default availability time.",
                    "id": "evt-fix-available-1",
                    "references": [
                      "https://github.com/MISP/MISP/commit/c01dd99bbd9cf2d6e6071250e8d8f9315ea54353"
                    ],
                    "timestamp": "2026-11-23T09:37:39.200341Z",
                    "type": "fix-available"
                  }
                ]
              }
            }
          },
          "recordType": "advisory",
          "vulnId": "GCVE-1-2026-20429"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "00000000-0000-4000-8000-000000000000",
    "cveId": "CVE-2026-135236",
    "datePublished": "2026-11-23T15:37:29.397287Z",
    "dateReserved": "2026-11-23T15:39:20.176Z",
    "dateUpdated": "2026-11-23T15:39:21.568468Z",
    "state": "PUBLISHED",
    "vulnId": "GCVE-1-2026-20429"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Solutions

CNA
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.

Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.