CVE-2024-22876 Cross-site scripting in n/a
An attacker can execute malicious JavaScript via uploaded HTML attachments, potentially escalating privileges to administrator in TheHive.
- 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-22876?
CVE-2024-22876 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.1.0 to 5.1.9 and 5.2.0 to 5.2.8 is vulnerable to Cross Site Scripting (XSS) in the case attachment functionality which enables an attacker to upload a malicious HTML file with Javascript code that will be executed in the context of the The Hive application using a specific URL. The vulnerability can be used to coerce a victim account to perform specific actions on the application as helping an analyst becoming administrator.
Weakness: CWE-79
Which versions are affected by CVE-2024-22876?
It affects 1 product.
Products include Strangebee Thehive.
How do I fix CVE-2024-22876?
No fix has been published for CVE-2024-22876 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-22876 being exploited?
There is no known exploitation of CVE-2024-22876 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-7qp9-r6rw-gg92.