---
id: CVE-2024-58130
title: >-
  In app/Controller/Component/RestResponseComponent.php in MISP before 2.4.193,
  REST endpoints have a lack of sanitization for non-JSON responses.
summary: >-
  In app/Controller/Component/RestResponseComponent.php in MISP before 2.4.193,
  REST endpoints have a lack of sanitization for non-JSON responses.
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: misp-project
product: misp
affected:
  - misp < 2.4.193
patched:
  - misp 2.4.193
published: '2025-03-28'
updated: '2026-06-22'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-58130'
references:
  - url: >-
      https://github.com/MISP/MISP/commit/f08a2eaec25f0212c22b225c0b654bd60d089ef9
    label: cve@mitre.org
  - url: 'https://github.com/MISP/MISP/releases/tag/v2.4.193'
    label: cve@mitre.org
tags:
  - nvd
epss: 0.00229
epssPercentile: 0.1392
ingestedAt: '2026-06-29T13:24:34.187Z'
---

## Overview

In app/Controller/Component/RestResponseComponent.php in MISP before 2.4.193, REST endpoints have a lack of sanitization for non-JSON responses.

## Affected

- `misp < 2.4.193`

## Remediation

Upgrade past the affected range:

- `misp 2.4.193`
