CVE-2024-58130 Cross-site scripting in MISP

High 7.2 Published Updated

Attackers can inject malicious scripts via unsanitized REST responses in MISP, potentially leading to code execution or account takeover.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-58130?

CVE-2024-58130 is a high-severity cross-site scripting vulnerability in Misp-Project Misp, published on 28 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

Weakness: CWE-79

Which versions are affected by CVE-2024-58130?

It affects 1 product.

Products include Misp-Project Misp.

How do I fix CVE-2024-58130?

No fix has been published for CVE-2024-58130 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-58130 being exploited?

There is no known exploitation of CVE-2024-58130 in the wild and no public exploit code.

All Misp-Project Misp vulnerabilities

Sources

Also known as GHSA-rjwx-2xjg-q573.

Is CVE-2024-58130 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free