CVE-2024-22877: StrangeBee TheHive · Cross-site Scripting
Source CVE Database V5
Not known to be exploited · CVSS 5.4 Medium.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 19 Jan 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubstrangebeecorp/TheHivepkg:github/strangebeecorp/TheHiveOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Restrict access to TheHive application strictly to trusted users and enforce strong authentication and authorization controls to minimize the risk of privilege abuse.
- Implement strict input validation and sanitization on all user-supplied data, especially within report templates and variables, to prevent injection of malicious scripts.
- Until an official patch is released, consider disabling or limiting the use of HTML report generation or viewing within TheHive to reduce exposure.
- Monitor logs and user activities for unusual behavior indicative of attempted exploitation or privilege misuse.
- Educate users to be cautious when opening HTML reports and to report any suspicious content.
- Follow TheHive project communications closely for updates and apply patches promptly once available.
- Employ Content Security Policy (CSP) headers in the web application to restrict execution of unauthorized scripts as a defense-in-depth measure.
- Conduct regular security assessments and code reviews of custom templates or integrations that might increase the attack surface.
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.