Vulnerability · Published Jul 29, 2024 · Assigned by @huntr_ai

CVE-2024-6578Stored XSS in aimhubio/aim

High 7.2

In plain English

A high-severity cross-site scripting in aimhubio/aim from aimhubio. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities).

Severity (CVSS 3.0)7.2High
Exploit odds (30 days)0.3%top 78.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIaimno fix listedGHSA-p9f2-jg9w-cx69
PyPIaimno fix listedPYSEC-2026-1092

Affected products (as reported)

VendorProductVersions
aimhubio aimhubio/aim unspecified – through latest

Weakness: CWE-79 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

References