Description
Affected versions of MISP serve uploaded SVG images inline without a restrictive browser sandbox.


The commit explains that SVG files are XML documents rather than passive bitmap images. While scripts inside SVG do not execute when the SVG is rendered through a normal <img>, they can execute when the SVG is navigated to directly or embedded as a document. In that case, malicious <script> elements, event handlers, or javascript: URLs execute on the MISP origin with the viewer’s session.


The affected use cases include:



 - organisation SVG logos;
 - event-report SVG pictures.






Importantly, the vulnerable behavior is on the serve path, not merely the upload path: the patch notes that a malicious SVG uploaded while SVG support was enabled could remain dangerous even after uploads were later disabled.



Version affected: ≤2.5.45
Published: 2026-09-14
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting (XSS)
Action: Immediate Patch
AI Analysis

Impact

A malicious SVG file uploaded to MISP and served inline without a restrictive browser sandbox can contain embedded scripts, event handlers, or javascript URLs that, when viewed by another authenticated user, execute in the victim’s browser in the context of the MISP origin. This stored cross‑site scripting flaw allows a threat actor to run arbitrary scripting code, potentially stealing session cookies, defacing the UI, or redirecting traffic. The weakness arises from insufficient application of Content‑Security‑Policy headers for inline SVG content.

Affected Systems

The vulnerability affects the MISP platform, particularly the organization logos and event‑report pictures functionalities, for all versions up to and including 2.5.45. The issue is present in the file serve path, not just the upload path, meaning previously uploaded SVG images remain dangerous even after disabling later uploads.

Risk and Exploitability

The CVSS score of 5.1 indicates a moderate severity. No EPSS data is available, and the vulnerability is not listed in the CISA KEV catalog. A likely an SVG file while SVG support is enabled; the malicious file can then be rendered by other authenticated users, executing the embedded code. Because the flaw persists on the serve path even after upload functionality is disabled, timely remediation is critical.

Generated by OpenCVE AI on September 14, 2026 at 20:27 UTC.

Remediation

Vendor Solution

A new sandboxInlineFile() method is added to RestResponseComponent. When a file is served inline (download=false) and its type is SVG (svg, svgz, or image/svg+xml), the response is augmented with a Content-Security-Policy header containing the sandbox directive (which assigns an opaque origin and disables script execution, plugins, and form submission) along with restrictive default-src, style-src, img-src, and font-src directives that still permit rendering of inline styles, embedded raster images, and data: fonts. An X-Content-Type-Options: nosniff header is also set. The method is invoked from both the generic sendFile() path and the org-logo endpoint. The enable_svg_logos setting description is updated to warn administrators that SVG files remain XML documents and should be left disabled unless required.


OpenCVE Recommended Actions

  • Upgrade MISP to version 2.5.46 or later to activate sandboxInlineFile() and enforce CSP headers for inline SVG.
  • If immediate upgrading is not possible, set the enable_svg_logos configuration to false and remove all existing SVG logos and report pictures from the server.
  • Convert any remaining inline SVG images to non‑SVG formats such as PNG or JPG the upgrade can be applied.

Generated by OpenCVE AI on September 14, 2026 at 20:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 14 Sep 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Misp
Misp misp
Vendors & Products Misp
Misp misp

Mon, 14 Sep 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 14 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Description Affected versions of MISP serve uploaded SVG images inline without a restrictive browser sandbox. The commit explains that SVG files are XML documents rather than passive bitmap images. While scripts inside SVG do not execute when the SVG is rendered through a normal <img>, they can execute when the SVG is navigated to directly or embedded as a document. In that case, malicious <script> elements, event handlers, or javascript: URLs execute on the MISP origin with the viewer’s session. The affected use cases include:  - organisation SVG logos;  - event-report SVG pictures. Importantly, the vulnerable behavior is on the serve path, not merely the upload path: the patch notes that a malicious SVG uploaded while SVG support was enabled could remain dangerous even after uploads were later disabled. Version affected: ≤2.5.45
Title MISP: Stored XSS via Inline-Served SVG Organisation Logos and Report Pictures
Weaknesses CWE-693
CWE-79
References
Metrics cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: CIRCL

Published:

Updated: 2026-09-14T13:58:30.297Z

Reserved: 2026-09-14T13:02:53.577Z

Link: CVE-2026-90957

cve-icon Vulnrichment

Updated: 2026-09-14T13:58:24.824Z

cve-icon NVD

Status : Received

Published: 2026-09-14T13:19:32.907

Modified: 2026-09-14T14:17:21.067

Link: CVE-2026-90957

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-14T20:30:08Z

Weaknesses
  • CWE-693

    Protection Mechanism Failure

  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')