Browse / AI Framework and Platform Flaws / CVE-2024-8556
AgentScope stored cross-site scripting (XSS) vulnerability
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Cross-site scripting
- Affected
- agentscope (PyPI)
- CVSS
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 0.4% chance of exploitation in 30 days
How it works, in short
A user-controlled run identifier is rendered into the run inspection page as raw HTML, so attacker script runs in viewers' browsers. (Our summary, written by a model. The source text is below.)
Details
A stored cross-site scripting (XSS) vulnerability exists in modelscope/agentscope, as of the latest commit 21161fe on the main branch. The vulnerability occurs in the view for inspecting detailed run information, where a user-controllable string (run ID) is appended and rendered as HTML. This allows an attacker to execute arbitrary JavaScript code in the context of the user's browser.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8556
- https://github.com/modelscope/agentscope
- https://github.com/modelscope/agentscope/blob/21161fe9985ee2a2f617180b00a1424b81302d42/src/agentscope/studio/static/js/dashboard.js#L90
- https://huntr.com/bounties/8439f16b-5256-4466-bb7d-371572572a4b
Source: GitHub Advisory Database, used under CC BY 4.0.