{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-135234","assignerOrgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","state":"PUBLISHED","assignerShortName":"CIRCL","dateReserved":"2026-11-23T15:38:41.272Z","datePublished":"2026-11-23T15:38:47.836Z","dateUpdated":"2026-11-23T15:38:47.836Z"},"containers":{"cna":{"affected":[{"cpes":["cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*"],"modules":["Feed event preview","Server event preview","Overmind object foot"],"product":"MISP","programFiles":["app/View/Elements/Feeds/View/row_attribute.ctp","app/View/Elements/Feeds/View/row_object.ctp","app/View/Elements/Feeds/View/row_object_reference.ctp","app/View/Elements/Feeds/View/row_object_referenced_by.ctp","app/View/Elements/Servers/View/row_attribute.ctp","app/View/Elements/Servers/View/row_object.ctp","app/View/Elements/Servers/View/row_object_reference.ctp","app/View/Elements/Servers/View/row_object_referenced_by.ctp","app/View/Themed/Overmind/Elements/Servers/View/preview_object.ctp","app/View/Themed/Overmind/Elements/Objects/object_foot.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":"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 cross-site scripting (XSS) vulnerability in the feed and server event preview pages. When a remote MISP instance (configured as a feed source or connected server) supplies object or reference UUIDs and IDs containing special characters, these values are rendered in the preview HTML without proper escaping.\n\nThe vulnerable behavior occurs in two contexts:\n\n- HTML element identifiers and text content: Remote UUIDs and IDs are inserted into DOM element IDs and visible text without HTML encoding, allowing injection of arbitrary HTML markup.\n- Inline JavaScript event handlers: Remote UUIDs and IDs are embedded into onClick handler strings using only HTML escaping, which does not protect against JavaScript string-literal breakout. A crafted value containing a single quote can terminate the string and inject arbitrary JavaScript.\n\nAn attacker who controls a remote MISP instance (feed or server peer) can craft UUID or ID fields with a malicious payload. When an authenticated user on the victim instance views the corresponding event preview, the injected script executes in the user's browser within the MISP application origin, potentially allowing session hijacking, data exfiltration, or unauthorized actions on behalf of the user.\n\nAffected: MISP versions 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:37:09Z","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"}]}],"providerMetadata":{"orgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","shortName":"CIRCL","dateUpdated":"2026-11-23T15:38:47.836Z"},"references":[{"name":"Security patch","tags":["patch"],"url":"https://github.com/MISP/MISP/commit/ad5dd145045f8d1a8ef9e91c32074966dde9e5e5"},{"name":"Security patch","tags":["patch"],"url":"https://github.com/MISP/MISP/commit/d6e715ad3c000f483e9383cf5e7169bb5eb434a6"}],"solutions":[{"lang":"en","value":"The vulnerability is remediated by ensuring all remote UUID and ID values are properly escaped for their output context. In HTML contexts, values are now passed through the HTML-encoding function. In inline JavaScript handler contexts, values are serialized using JSON encoding before being HTML-encoded, producing a valid JavaScript string literal that cannot be broken out of. This prevents both HTML injection and JavaScript injection from attacker-controlled remote identifiers."}],"title":"MISP Cross-Site Scripting via Unescaped Remote UUIDs and IDs in Event Previews","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":["The affected version range is inferred from the explicit context (fixed in 2.5.52); the lower bound '0' is a placeholder and the true earliest affected version is not specified in the patch.","PR:L assumes the attacker must be a configured feed or server peer; if MISP allows unauthenticated feed ingestion in some configurations, PR could be N.","UI:A assumes the victim must actively navigate to the event preview page; if the preview is auto-loaded in a workflow, UI could be P.","CAPEC-1 is the closest available mapping; the specific delivery mechanism (stored data from a remote MISP instance) does not have a more granular CAPEC entry.","The Co-Authored-By line for Claude Opus 5.5 is treated as a tool credit, not a human remediation developer.","CVSS impact metrics (VC:L, VI:L) assume the XSS can access session data and perform authenticated actions; the patch does not demonstrate a specific data-exfiltration path."],"capecRationale":[{"capecId":"CAPEC-1","rationale":"The attacker crafts a UUID or ID field in a remote MISP instance's data with a script payload. When the victim views the event preview, the unescaped value is rendered in the browser, executing attacker-controlled JavaScript. This is a stored XSS delivered through application data from a trusted-looking remote source. CAPEC-1 is the closest match; the specific sub-variant (stored vs. reflected) is less relevant than the core mechanism of unescaped output in a browser context."}],"commit":"d6e715ad3c000f483e9383cf5e7169bb5eb434a6","confidence":"medium","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 - Exploitation occurs over the network via a remote MISP feed/server connection. AC:L - The attacker only needs to set a UUID or ID field to a value containing a single quote or HTML special characters; no race conditions or special timing required. AT:N - No specific attack target configuration beyond a standard feed or server connection. PR:L - The attacker must be a configured remote MISP instance (feed or server peer), which is a low-privilege role in the MISP ecosystem. UI:A - The victim must actively navigate to the feed or server event preview page to trigger the XSS. VC:L - The injected script runs in the MISP application origin and can read session data, API tokens, or page content. VI:L - The script can perform actions on behalf of the user (submit forms, call APIs). VA:N - No direct availability impact. SC/SI/SA:N - No impact on subsequent components beyond the vulnerable web application.","fixSummary":"The vulnerability is remediated by ensuring all remote UUID and ID values are properly escaped for their output context. In HTML contexts, values are now passed through the HTML-encoding function. In inline JavaScript handler contexts, values are serialized using JSON encoding before being HTML-encoded, producing a valid JavaScript string literal that cannot be broken out of. This prevents both HTML injection and JavaScript injection from attacker-controlled remote identifiers.","generatedAt":"2026-11-23T09:37:09.797958Z","generator":"patch2vuln.py","model":"qwen3.8:27b","modelComparison":{"potentialErrors":[],"rankings":[{"agreementScore":11,"assumptionCount":6,"confidence":"medium","model":"qwen3.8:27b","score":6}],"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":"499d02461b3f768b72dd27fb8695233e960965fa700293b4a5e8f1021700b59d","patchSummary":"Added h() (HTML encoding) to all previously unescaped outputs of remote object UUIDs and IDs in feed and server view templates (row_attribute.ctp, row_object.ctp, row_object_reference.ctp, row_object_referenced_by.ctp for both Feeds and Servers elements). Changed inline onClick handlers in row_object_reference.ctp, row_object_referenced_by.ctp, preview_object.ctp, and object_foot.ctp to pass UUID/ID values through json_encode() before h(), converting them to safe JavaScript string literals. Added a test harness (ViewTemplateHarness.php) and a regression test (RemoteEventPreviewEscapingTest.php) that renders the affected templates with a malicious UUID payload and asserts proper escaping in both HTML and JavaScript contexts.","patchTruncated":false,"patches":[{"commit":"ad5dd145045f8d1a8ef9e91c32074966dde9e5e5","date":"Mon, 16 Nov 2026 00:16:08 +0100","patchSha256":"b124bfca09f3bcc117993f3cf866706f1f350726d86f9d3390bb9d2b770996e2","retrievedAt":"2026-11-23T09:36:30.767909Z","source":"https://github.com/MISP/MISP/commit/ad5dd145045f8d1a8ef9e91c32074966dde9e5e5","sourceUrl":"https://github.com/MISP/MISP/commit/ad5dd145045f8d1a8ef9e91c32074966dde9e5e5","subject":"fix: [security] Escape remote uuids and ids in the event"},{"commit":"d6e715ad3c000f483e9383cf5e7169bb5eb434a6","date":"Wed, 18 Nov 2026 10:33:13 +0100","patchSha256":"c10860c5c31849374368a5b4f9d4f0ba3ffa2eef6a22195838dbb3cbfbfca5ee","retrievedAt":"2026-11-23T09:36:31.342497Z","source":"https://github.com/MISP/MISP/commit/d6e715ad3c000f483e9383cf5e7169bb5eb434a6","sourceUrl":"https://github.com/MISP/MISP/commit/d6e715ad3c000f483e9383cf5e7169bb5eb434a6","subject":"fix: [security] Overmind object foot copies a remote uuid as"}],"source":"patch set (2 sources)","ssvc":{"options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"Supplier","timestamp":"2026-11-23T09:37:09Z","version":"2.0.3"},"subject":"fix: [security] Overmind object foot copies a remote uuid as","weaknessRationale":[{"cweId":"CWE-79","rationale":"Remote UUIDs and IDs are output into HTML element attributes and inline JavaScript handlers without context-appropriate encoding. The HTML context lacks HTML encoding, and the JavaScript context uses only HTML encoding instead of JSON encoding, allowing script injection. This is a classic XSS via insufficient output encoding."}]}},"bcp-05-x-03":{"x_timeline":{"events":[{"description":"Corrective change authored (ad5dd145045f8d1a8ef9e91c32074966dde9e5e5): fix: [security] Escape remote uuids and ids in the event","id":"evt-fix-developed-1","references":["https://github.com/MISP/MISP/commit/ad5dd145045f8d1a8ef9e91c32074966dde9e5e5"],"timestamp":"2026-11-15T23:16:08Z","type":"fix-developed"},{"description":"Corrective change authored (d6e715ad3c000f483e9383cf5e7169bb5eb434a6): fix: [security] Overmind object foot copies a remote uuid as","id":"evt-fix-developed-2","references":["https://github.com/MISP/MISP/commit/d6e715ad3c000f483e9383cf5e7169bb5eb434a6"],"timestamp":"2026-11-18T09:33:13Z","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/ad5dd145045f8d1a8ef9e91c32074966dde9e5e5"],"timestamp":"2026-11-23T09:36:30.767909Z","type":"fix-available"},{"description":"Patch retrieved from the supplied URL; retrieval time is used as the default availability time.","id":"evt-fix-available-2","references":["https://github.com/MISP/MISP/commit/d6e715ad3c000f483e9383cf5e7169bb5eb434a6"],"timestamp":"2026-11-23T09:36:31.342497Z","type":"fix-available"}]}}},"recordType":"advisory","vulnId":"GCVE-1-2026-20427"}]}}}