# CVE-2024-6578: Stored XSS in aimhubio/aim

- Severity: High 7.2 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-07-29T18:37:16.820Z
- Modified: 2026-07-07T17:56:42.677Z
- Also known as: GHSA-p9f2-jg9w-cx69, PYSEC-2026-1092
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## Description

A stored cross-site scripting (XSS) vulnerability exists in aimhubio/aim version 3.19.3. The vulnerability arises from the improper neutralization of input during web page generation, specifically in the logs-tab for runs. The terminal output logs are displayed using the `dangerouslySetInnerHTML` function in React, which is susceptible to XSS attacks. An attacker can exploit this vulnerability by injecting malicious scripts into the logs, which will be executed when a user views the logs-tab.

(As written by CVE List.)

## Affected

- aimhubio aimhubio/aim: from unspecified up to latest
- aimhubio aim: 3.19.3
- aim (PyPI): up to 3.19.3
- aimstack aim: 3.19.3

## Every score

- @huntr_ai: CVSS:3.0 7.2 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`

## References

- <https://huntr.com/bounties/5b1ebc67-5346-44aa-b8b8-3c1c09d79680> (exploit, issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-6578> (advisory)
- <https://github.com/aimhubio/aim> (package)
- <https://pypi.org/project/aim> (package)
- <https://github.com/advisories/GHSA-p9f2-jg9w-cx69> (advisory)

## Sources

- CVE List: [CVE-2024-6578](https://www.cve.org/CVERecord?id=CVE-2024-6578), CVE Terms of Use, modified 2024-08-01
- GitHub Advisory Database: [GHSA-p9f2-jg9w-cx69](https://github.com/advisories/GHSA-p9f2-jg9w-cx69), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-6578](https://nvd.nist.gov/vuln/detail/CVE-2024-6578), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1092](https://osv.dev/vulnerability/PYSEC-2026-1092), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-6578 · Whole record: https://cve.day/CVE-2024-6578.json · Rebuilt by cve.day 2026-11-25T22:58:43.354Z
