CVE-2024-22877 Cross-site scripting in n/a

Medium 5.4 Published Updated

Attackers can inject malicious JavaScript into TheHive case reports, leading to code execution in the victim's browser context.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-22877?

CVE-2024-22877 is a medium-severity cross-site scripting vulnerability in n/a, published on 19 Jan 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

StrangeBee TheHive 5.2.0 to 5.2.8 is vulnerable to Cross Site Scripting (XSS) in the case reporting functionality. This feature allows an attacker to insert malicious JavaScript code inside the template or its variables, that will be executed in the context of the TheHive application when the HTML report is opened.

Weakness: CWE-79

Which versions are affected by CVE-2024-22877?

It affects 1 product.

Products include Strangebee Thehive.

How do I fix CVE-2024-22877?

No fix has been published for CVE-2024-22877 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-22877 being exploited?

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

Sources

Also known as GHSA-75rf-h4vm-w82h.

Is CVE-2024-22877 in your software?

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

Check your SBOMs for free