{"id":"CVE-2026-104907","revision":"c82f3b63bbfd45d4827070c9e0037de5","records":[{"revision":"c82f3b63bbfd45d4827070c9e0037de5","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-104907","aliases":[],"title":"MISP: JavaScript Injection via Remote Tag ID in Event Preview Inline Handler","description":"MISP contains a cross-site scripting (XSS) vulnerability in the remote event preview page. When a linked (remote) MISP server is configured, the event preview renders tag identifiers inside an inline JavaScript onclick attribute. The tag ID value was HTML-escaped but not sanitized for the JavaScript string context, meaning a malicious linked server could supply a tag ID containing characters (such as a single quote) that break out of the JavaScript string literal and inject arbitrary script.\n\nPreconditions:\n\n- A linked/remote MISP server is configured and connected to the local instance.\n\n- The linked server supplies a crafted tag ID in an event.\n\n- An authenticated user views the event preview and interacts with the affected tag element.\n\nImpact:\n\n- Arbitrary JavaScript execution in the context of the viewing user's browser session, potentially allowing session hijacking, data exfiltration, or unauthorized actions on behalf of the user.\n\nAffected versions: MISP prior to the fix commit (v2.5.48 or later, exact boundary unconfirmed).","state":0,"publishedAt":"2026-10-02T15:51:34.565+00:00","modifiedAt":"2026-10-02T16:18:12.403+00:00","affected":[{"ecosystem":"Vendor product","name":"MISP","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"cpes\": [\n                        \"cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*\"\n                    ],\n                    \"modules\": [\n                        \"Servers/preview_event\"\n                    ],\n                    \"product\": \"MISP\",\n                    \"programFiles\": [\n                        \"app/View/Servers/preview_event.ctp\"\n                    ],\n                    \"repo\": \"https://github.com/MISP/MISP\",\n                    \"vendor\": \"MISP\",\n                    \"versions\": [\n                        {\n                            \"lessThan\": \"2.5.48\",\n                            \"status\": \"affected\",\n                            \"version\": \"0\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N","score":4.8,"severity":"MEDIUM"}],"references":["https://github.com/MISP/MISP/commit/70ad174dd"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-104907","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-104907","identifiers":["CVE-2026-104907"]},"retained":false,"historicalAffected":[]}],"coverage":[]}