AgentScope stored cross-site scripting (XSS) vulnerability
Date: 2025-03
Affected: pip/agentscope
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2024-8556
CWE: CWE-79
CVSS: 6.1 (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):