{"api_version":"1","generated_at":"2026-11-23T20:42:49+00:00","cve":"CVE-2026-135238","urls":{"html":"https://cve.report/CVE-2026-135238","api":"https://cve.report/api/cve/CVE-2026-135238.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-135238","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-135238"},"summary":{"title":"MISP Overmind Remote Event Preview: Insufficient Escaping of Remote UUID in Inline JavaScript Handler Enables Cross-Site Scripting","description":"MISP contains a cross-site scripting (XSS) vulnerability in the Overmind server preview's analyst data badge component. When rendering the analyst data link for a remote attribute, the remote server's UUID value was inserted into an inline JavaScript event handler using only HTML entity encoding, which is insufficient to prevent breakout from the JavaScript string context within the HTML attribute.\n\nAn attacker who can control or influence the UUID value of a remote attribute (for example, through a malicious or compromised upstream MISP server sharing data via Overmind) could inject arbitrary JavaScript that executes in the context of the victim's MISP session when the analyst data badge is clicked.\n\nPreconditions:\n- The victim must be authenticated to a MISP instance with Overmind enabled.\n- The victim must view a remote event preview containing the crafted UUID.\n- The victim must interact with (click) the analyst data badge element.\n\nSecurity impact:\n- Execution of arbitrary JavaScript in the victim's browser session.\n- Potential theft of session credentials, manipulation of page content, or initiation of unauthorized actions on behalf of the authenticated user.\n\nAffected versions: MISP prior to 2.5.52.","state":"PUBLISHED","assigner":"CIRCL","published_at":"2026-11-23 16:17:41","updated_at":"2026-11-23 16:17:42"},"problem_types":["CWE-79","CWE-116","CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","CWE-116 CWE-116 Improper Encoding or Escaping of Output"],"metrics":[{"version":"4.0","source":"5a6e4751-2f3f-4070-9419-94fb35b644e8","type":"Secondary","score":"4.8","severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","data":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":4.8,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"ACTIVE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}},{"version":"4.0","source":"CNA","type":"CVSS","score":"4.8","severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","data":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":4.8,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnerabilityResponseEffort":"NOT_DEFINED"}}],"references":[{"url":"https://github.com/MISP/MISP/commit/b97727da2303490c63300cefe4affbab39114d4e","name":"https://github.com/MISP/MISP/commit/b97727da2303490c63300cefe4affbab39114d4e","refsource":"5a6e4751-2f3f-4070-9419-94fb35b644e8","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-135238","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135238","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"MISP","product":"MISP","version":"affected 2.5.52 semver","platforms":[]}],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"The fix replaces the insufficient HTML-entity-only encoding of the remote UUID in the inline JavaScript handler with a two-layer encoding strategy: the UUID and object type are first URL-encoded via rawurlencode() to neutralize special characters in the URL path, and the resulting URL string is then serialized as a proper JavaScript string literal via json_encode(). The entire handler expression is additionally wrapped in h() for safe placement within the HTML attribute. This ensures the remote UUID cannot break out of the JavaScript string context or inject arbitrary code.","time":"","lang":"en"}],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"iglocska","lang":"en"},{"source":"CNA","value":"Claude Opus 5.5","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"cpes":["cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*"],"modules":["Overmind","analyst_data_badges"],"product":"MISP","programFiles":["app/View/Themed/Overmind/Elements/genericElementsBS5/IndexTable/Fields/analyst_data_badges.ctp"],"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":"remediation developer","value":"iglocska"},{"lang":"en","type":"remediation developer","value":"Claude Opus 5.5"}],"descriptions":[{"lang":"en","value":"MISP contains a cross-site scripting (XSS) vulnerability in the Overmind server preview's analyst data badge component. When rendering the analyst data link for a remote attribute, the remote server's UUID value was inserted into an inline JavaScript event handler using only HTML entity encoding, which is insufficient to prevent breakout from the JavaScript string context within the HTML attribute.\n\nAn attacker who can control or influence the UUID value of a remote attribute (for example, through a malicious or compromised upstream MISP server sharing data via Overmind) could inject arbitrary JavaScript that executes in the context of the victim's MISP session when the analyst data badge is clicked.\n\nPreconditions:\n- The victim must be authenticated to a MISP instance with Overmind enabled.\n- The victim must view a remote event preview containing the crafted UUID.\n- The victim must interact with (click) the analyst data badge element.\n\nSecurity impact:\n- Execution of arbitrary JavaScript in the victim's browser session.\n- Potential theft of session credentials, manipulation of page content, or initiation of unauthorized actions on behalf of the authenticated user.\n\nAffected versions: MISP prior to 2.5.52."}],"impacts":[{"capecId":"CAPEC-1","descriptions":[{"lang":"en","value":"CAPEC-1 Cross Site Scripting"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":4.8,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","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:39:57Z","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 ('Cross-site Scripting')","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-116","description":"CWE-116 Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-23T15:39:53.814Z","orgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","shortName":"CIRCL"},"references":[{"name":"Security patch","tags":["patch"],"url":"https://github.com/MISP/MISP/commit/b97727da2303490c63300cefe4affbab39114d4e"}],"solutions":[{"lang":"en","value":"The fix replaces the insufficient HTML-entity-only encoding of the remote UUID in the inline JavaScript handler with a two-layer encoding strategy: the UUID and object type are first URL-encoded via rawurlencode() to neutralize special characters in the URL path, and the resulting URL string is then serialized as a proper JavaScript string literal via json_encode(). The entire handler expression is additionally wrapped in h() for safe placement within the HTML attribute. This ensures the remote UUID cannot break out of the JavaScript string context or inject arbitrary code."}],"title":"MISP Overmind Remote Event Preview: Insufficient Escaping of Remote UUID in Inline JavaScript Handler Enables Cross-Site Scripting","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 at least a low-privilege account on an upstream MISP server to set a crafted UUID on a shared attribute; if the UUID can be influenced without authentication, PR could be N.","UI:A assumes the victim must click the analyst data badge; if the handler could be triggered programmatically (e.g., via a crafted link), UI could be P or N.","The affected version range is inferred from the explicit context (fixed in 2.5.52); the exact introduction version is not stated in the patch.","CAPEC-1 is the closest standard mapping; no more specific CAPEC for 'insufficient encoding in inline JS handler' exists in the CAPEC catalog.","The patch does not indicate whether the vulnerability was reported externally or found internally; no finder credit is assigned."],"capecRationale":[{"capecId":"CAPEC-1","rationale":"The vulnerability allows an attacker to inject script into a web page by supplying a crafted UUID value that breaks out of the JavaScript string context in an inline event handler. This is the canonical XSS attack pattern. The mapping is direct: the patch explicitly addresses insufficient escaping of a value in a script context."}],"commit":"b97727da2303490c63300cefe4affbab39114d4e","confidence":"medium","credits":[{"lang":"en","type":"remediation developer","value":"iglocska"},{"lang":"en","type":"remediation developer","value":"Claude Opus 5.5"}],"cvssRationale":"AV:N: The vulnerability is exploitable over the network via a web browser. AC:L: No special race conditions or complex setup are needed; a crafted UUID in a remote attribute is sufficient. AT:N: No special target conditions. PR:L: The attacker needs a low-privilege account on the upstream MISP server (or must compromise one) to set a malicious UUID on a shared attribute; the victim needs an authenticated MISP session. UI:A: The victim must click the analyst data badge to trigger the inline handler. VC:L: XSS can read session cookies and page data. VI:L: XSS can perform actions on behalf of the user. VA:N: No direct availability impact. SC/SI/SA:N: No secondary system impact is evidenced.","fixSummary":"The fix replaces the insufficient HTML-entity-only encoding of the remote UUID in the inline JavaScript handler with a two-layer encoding strategy: the UUID and object type are first URL-encoded via rawurlencode() to neutralize special characters in the URL path, and the resulting URL string is then serialized as a proper JavaScript string literal via json_encode(). The entire handler expression is additionally wrapped in h() for safe placement within the HTML attribute. This ensures the remote UUID cannot break out of the JavaScript string context or inject arbitrary code.","generatedAt":"2026-11-23T09:39:57.728901Z","generator":"patch2vuln.py","model":"qwen3.8:27b","modelComparison":{"potentialErrors":[],"rankings":[{"agreementScore":11,"assumptionCount":5,"confidence":"medium","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":"b2c5df828943007cbd9cede09a3466d4b208d8f1ab41f39e069e15de349467b5","patchSummary":"In analyst_data_badges.ctp, the onclick handler construction was changed from sprintf with h() on each component to a nested approach: rawurlencode() is applied to $objectType and $uuid before building the URL path, the full URL is wrapped in json_encode() to produce a safe JavaScript string literal, and the final handler string is passed through h() for HTML attribute safety. A new test method testOvermindPreviewAnalystDataOpensTheRemoteUuidAsAString was added to RemoteEventPreviewEscapingTest.php, verifying that the rendered handler contains the URL as a json_encode'd string with the UUID rawurlencoded, and that no raw <i> tags leak into the output.","patchTruncated":false,"patches":[{"commit":"b97727da2303490c63300cefe4affbab39114d4e","date":"Mon, 16 Nov 2026 10:02:20 +0100","patchSha256":"b2c5df828943007cbd9cede09a3466d4b208d8f1ab41f39e069e15de349467b5","retrievedAt":"2026-11-23T09:39:12.430708Z","source":"https://github.com/MISP/MISP/commit/b97727da2303490c63300cefe4affbab39114d4e","sourceUrl":"https://github.com/MISP/MISP/commit/b97727da2303490c63300cefe4affbab39114d4e","subject":"fix: [security] Escape the remote uuid in the preview's"}],"source":"https://github.com/MISP/MISP/commit/b97727da2303490c63300cefe4affbab39114d4e","ssvc":{"options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"Supplier","timestamp":"2026-11-23T09:39:57Z","version":"2.0.3"},"subject":"fix: [security] Escape the remote uuid in the preview's","weaknessRationale":[{"cweId":"CWE-79","rationale":"The remote UUID value was placed into an inline JavaScript event handler using only HTML entity encoding (h()), which does not prevent JavaScript string breakout. This is a classic XSS via insufficient context-aware encoding."},{"cweId":"CWE-116","rationale":"The specific root cause is that the encoding mechanism (h()) was inappropriate for the target context (JavaScript string literal inside an HTML attribute). The fix applies context-appropriate encoding (json_encode for JS string, rawurlencode for URL path)."}]}},"bcp-05-x-03":{"x_timeline":{"events":[{"description":"Corrective change authored (b97727da2303490c63300cefe4affbab39114d4e): fix: [security] Escape the remote uuid in the preview's","id":"evt-fix-developed-1","references":["https://github.com/MISP/MISP/commit/b97727da2303490c63300cefe4affbab39114d4e"],"timestamp":"2026-11-16T09:02:20Z","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/b97727da2303490c63300cefe4affbab39114d4e"],"timestamp":"2026-11-23T09:39:12.430708Z","type":"fix-available"}]}}},"recordType":"advisory","vulnId":"GCVE-1-2026-20432"}]}},"cveMetadata":{"assignerOrgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","assignerShortName":"CIRCL","cveId":"CVE-2026-135238","datePublished":"2026-11-23T15:39:53.814Z","dateReserved":"2026-11-23T15:39:48.722Z","dateUpdated":"2026-11-23T15:39:53.814Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-23 16:17:41","lastModifiedDate":"2026-11-23 16:17:42","problem_types":["CWE-79","CWE-116","CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","CWE-116 CWE-116 Improper Encoding or Escaping of Output"],"metrics":{"cvssMetricV40":[{"source":"5a6e4751-2f3f-4070-9419-94fb35b644e8","type":"Secondary","cvssData":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":4.8,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"ACTIVE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}],"ssvcV203":[{"source":"5a6e4751-2f3f-4070-9419-94fb35b644e8","ssvcData":{"timestamp":"2026-11-23T09:39:57Z","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"Supplier","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"135238","Ordinal":"1","Title":"MISP Overmind Remote Event Preview: Insufficient Escaping of Rem","CVE":"CVE-2026-135238","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"135238","Ordinal":"1","NoteData":"MISP contains a cross-site scripting (XSS) vulnerability in the Overmind server preview's analyst data badge component. When rendering the analyst data link for a remote attribute, the remote server's UUID value was inserted into an inline JavaScript event handler using only HTML entity encoding, which is insufficient to prevent breakout from the JavaScript string context within the HTML attribute.\n\nAn attacker who can control or influence the UUID value of a remote attribute (for example, through a malicious or compromised upstream MISP server sharing data via Overmind) could inject arbitrary JavaScript that executes in the context of the victim's MISP session when the analyst data badge is clicked.\n\nPreconditions:\n- The victim must be authenticated to a MISP instance with Overmind enabled.\n- The victim must view a remote event preview containing the crafted UUID.\n- The victim must interact with (click) the analyst data badge element.\n\nSecurity impact:\n- Execution of arbitrary JavaScript in the victim's browser session.\n- Potential theft of session credentials, manipulation of page content, or initiation of unauthorized actions on behalf of the authenticated user.\n\nAffected versions: MISP prior to 2.5.52.","Type":"Description","Title":"MISP Overmind Remote Event Preview: Insufficient Escaping of Rem"}]}}}