CVE-2024-8101 Stored XSS in aimhubio/aim
Attackers can execute arbitrary JavaScript in the Text Explorer by injecting malicious HTML during training, affecting users of the AIM tracking tool.
- 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-8101?
CVE-2024-8101 is a high-severity cross-site scripting vulnerability in aimhubio/aim, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A stored cross-site scripting (XSS) vulnerability exists in the Text Explorer component of aimhubio/aim version 3.23.0. The vulnerability arises due to the use of `dangerouslySetInnerHTML` without proper sanitization, allowing arbitrary JavaScript execution when rendering tracked texts. This can be exploited by injecting malicious HTML content during the training process, which is then rendered unsanitized in the Text Explorer.
Weakness: CWE-79
Which versions are affected by CVE-2024-8101?
It affects 1 product.
Products include Aimstack Aim.
How do I fix CVE-2024-8101?
No fix has been published for CVE-2024-8101 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-8101 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8101 exists.
Other vulnerabilities in aimhubio/aim
- CVE-2024-6396 Arbitrary File Overwrite and Data Exfiltration in aimhubio/aim
- CVE-2024-2195 Remote Code Execution in aimhubio/aim
- CVE-2024-6829 Arbitrary File Overwrite through tarfile-extraction in aimhubio/aim
- CVE-2024-8769 Arbitrary File Deletion via Relative Path Traversal in aimhubio/aim
- CVE-2025-51464 Aim vulnerable to Cross-site Scripting
Sources
Also known as GHSA-3ppw-4jp4-5852.