{"id":"CVE-2024-6578","state":"PUBLISHED","title":"Stored XSS in aimhubio/aim","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.","publishedAt":"2024-07-29T18:37:16.820Z","updatedAt":"2024-08-01T21:41:03.725Z","severity":{"score":7.2,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","source":"@huntr_ai"},"assigner":"@huntr_ai","products":["aimhubio aimhubio/aim"],"affected":[{"vendor":"aimhubio","product":"aimhubio/aim","versions":[{"version":"unspecified","status":"affected","lessThanOrEqual":"latest","versionType":"custom"}]}],"references":["https://huntr.com/bounties/5b1ebc67-5346-44aa-b8b8-3c1c09d79680"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/6xxx/CVE-2024-6578.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-6578","state":"PUBLISHED","datePublished":"2024-07-29T18:37:16.820Z","dateUpdated":"2024-08-01T21:41:03.725Z","assignerShortName":"@huntr_ai","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2024-07-08T17:56:48.272Z"},"containers":{"cna":{"title":"Stored XSS in aimhubio/aim","descriptions":[{"lang":"en","value":"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":[{"vendor":"aimhubio","product":"aimhubio/aim","versions":[{"version":"unspecified","status":"affected","lessThanOrEqual":"latest","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/5b1ebc67-5346-44aa-b8b8-3c1c09d79680"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","baseScore":7.2,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","type":"CWE","lang":"en","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}],"providerMetadata":{"shortName":"@huntr_ai","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2024-07-29T18:37:16.820Z"},"source":{"advisory":"5b1ebc67-5346-44aa-b8b8-3c1c09d79680","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"aimhubio","product":"aim","defaultStatus":"unknown","versions":[{"version":"3.19.3","status":"affected"}],"cpes":["cpe:2.3:a:aimhubio:aim:3.19.3:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-29T18:44:56.831726Z","id":"CVE-2024-6578","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-29T18:47:14.318Z"}},{"title":"CVE Program Container","references":[{"url":"https://huntr.com/bounties/5b1ebc67-5346-44aa-b8b8-3c1c09d79680","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T21:41:03.725Z"}}]}}}