{"id":"CVE-2026-95682","published":"2026-09-22T13:56:51Z","modified":"2026-09-22T15:31:09Z","title":"MISP Stored Cross-Site Scripting via Unescaped Organization Name in Admin Email View","vendor":"MISP","product":"MISP","tier":"tail","description":{"text":"MISP contains a stored cross-site scripting (XSS) vulnerability in the admin email composition screen. The MISP.org organization name setting was interpolated directly into a JavaScript string literal using an unescaped PHP echo: var org = \"<?php echo $org;?>\";. Because the value was placed inside a double-quoted JavaScript string without any encoding, an organization name containing a double-quote character (or a backslash) could terminate the string literal and inject arbitrary JavaScript into the page. The injected script would execute in the context of any authenticated user who subsequently loads the admin email page, potentially allowing session hijacking, data exfiltration, or privileged actions performed on behalf of the victim.\n\nExploitation requires the ability to set or modify the MISP.org organization name and a second authenticated user visiting the affected admin email view.\n\nThe vulnerability is a classic instance of insufficient output encoding in a JavaScript context.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00418,"percentile":0.36952,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/MISP/MISP/commit/5d6ace65e","tags":["patch"]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":7.39},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"misp","affectedVersions":[{"vendor":"MISP","product":"MISP","versions":[">= unspecified, < 2.5.47"]}],"solutions":{"items":["The fix replaces the raw PHP echo of the organization name with a json_encode() call using the flags JSON_HEX_TAG, JSON_HEX_AMP, JSON_HEX_APOS, and JSON_HEX_QUOT. This produces a properly escaped JavaScript string literal that neutralizes quotes, angle brackets, ampersands, and other metacharacters, preventing breakout from the string context and subsequent script injection."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-1","name":"Cross Site Scripting (XSS)"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-22T15:31:00.583552Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-84399","exploited":false,"provenance":"source"}}