CVE-2024-8101 Details
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.
A stored cross-site scripting vulnerability has been identified in the Text Explorer component of aimhubio/aim, specifically in version 3.23.0. This vulnerability allows for the execution of arbitrary JavaScript by exploiting the application's tracked text feature. The issue arises because HTML content is rendered using dangerouslySetInnerHTML without proper sanitization, leaving the application open to script injection. Malicious HTML can be injected during the training process, and when the tracked text is viewed in the Text Explorer, the injected JavaScript is executed.
Sanitize the HTML content before rendering it in the Text Explorer component. This can be done using a library like DomPurify to ensure that only safe HTML is displayed and that JavaScript execution is blocked.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 20, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://huntr.com/bounties/60cf2b93-a9a2-435e-a222-3d6abde26adb | CISA-ADP | Exploit |
| https://huntr.com/bounties/60cf2b93-a9a2-435e-a222-3d6abde26adb | [email protected] | Exploit |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| aimstack aim | 3.23.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 1, 2025 | Initial Analysis | [email protected] |
| Mar 20, 2025 | CVE Modified | CISA-ADP |
| Mar 20, 2025 | New CVE Received | [email protected] |