{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-6578",
        "assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
        "state": "PUBLISHED",
        "assignerShortName": "@huntr_ai",
        "dateReserved": "2024-07-08T17:56:48.272Z",
        "datePublished": "2024-07-29T18:37:16.820Z",
        "dateUpdated": "2024-08-01T21:41:03.725Z"
    },
    "containers": {
        "cna": {
            "title": "Stored XSS in aimhubio/aim",
            "providerMetadata": {
                "orgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
                "shortName": "@huntr_ai",
                "dateUpdated": "2024-07-29T18:37:16.820Z"
            },
            "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",
                            "versionType": "custom",
                            "lessThanOrEqual": "latest"
                        }
                    ]
                }
            ],
            "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": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                            "cweId": "CWE-79"
                        }
                    ]
                }
            ],
            "source": {
                "advisory": "5b1ebc67-5346-44aa-b8b8-3c1c09d79680",
                "discovery": "EXTERNAL"
            }
        },
        "adp": [
            {
                "affected": [
                    {
                        "vendor": "aimhubio",
                        "product": "aim",
                        "cpes": [
                            "cpe:2.3:a:aimhubio:aim:3.19.3:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "3.19.3",
                                "status": "affected"
                            }
                        ]
                    }
                ],
                "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"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-07-29T18:47:14.318Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-01T21:41:03.725Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://huntr.com/bounties/5b1ebc67-5346-44aa-b8b8-3c1c09d79680",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}