---
id: CVE-2024-6578
aliases:
  - GHSA-p9f2-jg9w-cx69
  - PYSEC-2026-1092
title: Aim Stored Cross-site Scripting Vulnerability
summary: Aim Stored Cross-site Scripting Vulnerability
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
vendor: aim
product: aim
ecosystem: pip
affected:
  - aim <= 3.19.3
published: '2024-07-29'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-p9f2-jg9w-cx69'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-6578'
  - url: 'https://github.com/aimhubio/aim'
  - url: 'https://huntr.com/bounties/5b1ebc67-5346-44aa-b8b8-3c1c09d79680'
tags:
  - osv
  - pip
epss: 0.00285
epssPercentile: 0.21254
ingestedAt: '2026-07-08T18:25:51.738Z'
---

## Overview

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.

## Affected packages

- `aim <= 3.19.3`

## Remediation

Refer to the advisory for the patched release.
