Skip to content
Heist/ feed
Back to feed
Medium

MISP Reflected Cross-Site Scripting in Event Export Confirmation Form via Unescaped JSON

Type: advisorySources: OSV

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 json_encode() without any hex-encoding flags. By default, json_encode() 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 comprom

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-95665
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 01:17 UTC · Revision 1

Source evidence

MISP Reflected Cross-Site Scripting in Event Export Confirmation Form via Unescaped JSON

core-osv · Original source

Published 22 Sept 2026, 13:01 UTC

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 json_encode() without any hex-encoding flags. By default, json_encode() 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 comprom

osv:CVE-2026-95665
Complete source record
{
  "id": "9cebc1896765a99c6db5cc71066f4cb4fe3d9132e194ca520a71320fcdedc745",
  "url": "https://osv.dev/vulnerability/CVE-2026-95665",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "MISP Reflected Cross-Site Scripting in Event Export Confirmation Form via Unescaped JSON",
    "summary": "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 json_encode() without any hex-encoding flags. By default, json_encode() 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 comprom",
    "evidence": "osv:CVE-2026-95665",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-95665",
      "aliases": [
        "CVE-2026-95665"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/misp/misp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "fc4220ed7900097dfbcdf48a0961f6713960ae11"
                },
                {
                  "fixed": "ad4ff238d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.5.47"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ad4ff238d"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.5.46",
            "v2.5.45",
            "v2.5.44",
            "v2.5.43",
            "v2.5.42",
            "v2.5.41",
            "v2.5.40",
            "v2.5.39",
            "v2.5.37",
            "v2.5.36",
            "v2.5.35",
            "v2.5.34",
            "v2.5.33",
            "v2.5.32",
            "v2.5.31",
            "v2.5.30",
            "v2.5.29",
            "v2.5.28",
            "v2.5.27",
            "v2.5.26",
            "v2.5.25",
            "v2.5.24",
            "v2.5.23",
            "v2.5.22",
            "v2.5.21",
            "v2.5.20",
            "v2.5.19",
            "v2.5.18",
            "v2.5.17",
            "v2.5.16",
            "v2.5.15",
            "v2.5.12",
            "v2.5.14",
            "v2.5.13",
            "v2.5.11",
            "v2.5.10",
            "v2.5.9",
            "v2.5.8",
            "v2.5.7",
            "v2.5.0",
            "v2.4.196",
            "v2.4.195",
            "v2.4.194",
            "v2.4.193",
            "v2.4.192",
            "v2.4.191",
            "v2.4.190",
            "v2.4.189",
            "v2.4.188",
            "v2.4.187",
            "v2.4.186",
            "v2.4.175",
            "v2.4.185",
            "v2.4.183",
            "v2.4.184",
            "v2.4.153",
            "v2.4.152",
            "v2.4.137",
            "v2.4.136",
            "v2.4.134",
            "v2.4.133",
            "v2.4.130",
            "v2.4.128",
            "v2.4.127",
            "v2.4.125",
            "v2.4.123",
            "v2.4.122",
            "v2.4.121",
            "v2.4.120",
            "v2.4.118",
            "v2.4.111",
            "rm",
            "v2.4.110",
            "v2.4.109",
            "codename/tellurium",
            "v2.4.107",
            "v2.4.106",
            "v2.4.102",
            "v2.4.101",
            "v2.4.100",
            "v2.4.98",
            "v2.4.96",
            "v2.4.95",
            "v2.4.94",
            "v2.4.93",
            "v2.4.91",
            "v2.4.89",
            "v2.4.88",
            "v2.4.87",
            "v2.4.86",
            "v2.4.85",
            "v2.4.83",
            "v2.4.82",
            "v2.4.80",
            "v2.4.78",
            "v2.4.65",
            "v2.4.64",
            "v2.4.63",
            "v2.4.62",
            "v2.4.61",
            "v2.4.60",
            "v2.4.59",
            "v2.4.58",
            "v2.4.57",
            "v2.4.56",
            "v2.4.54",
            "v2.4.53",
            "v2.4.52",
            "v2.4.51",
            "v2.4.50",
            "v2.4.48",
            "v2.4.47",
            "v2.4.46",
            "v2.4.45",
            "v2.4.43",
            "v2.4.39",
            "v2.4.38",
            "v2.4.37",
            "v2.4.36",
            "v2.4.35",
            "v2.4.34",
            "v2.4.27",
            "v2.4.26",
            "v2.4.25",
            "v2.4.24",
            "v2.4.23",
            "v2.4.22",
            "v2.4.21",
            "v2.4.20",
            "v2.4.18",
            "v2.4.17",
            "v2.4.16",
            "v2.4.15",
            "v2.4.14",
            "v2.4.13",
            "v2.4.11",
            "v2.4.10",
            "v2.4.9",
            "v2.4.7",
            "v2.4.5",
            "v2.4.4",
            "v2.4.3",
            "v2.4.2",
            "v2.4.1",
            "v2.4.0",
            "v2.3.0",
            "v0.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-95665.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.610920793Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/95xxx/CVE-2026-95665.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-95665",
        "https://github.com/MISP/MISP/commit/ad4ff238d",
        "https://github.com/MISP/MISP"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "CIRCL",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/95xxx/CVE-2026-95665.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-95665",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 513777,
  "published_at": "2026-09-22T13:01:45.225+00:00"
}