AgentScope stored cross-site scripting (XSS) vulnerability
A stored cross-site scripting vulnerability exists in the run detail view of AgentScope, where a user-controllable run ID is rendered as HTML. An attacker could execute arbitrary JavaScript in a victim's browser.
modelscope/agentscope
Originally disclosed on huntr
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.
From the GitHub Advisory Database (GHSA-6mf6-7j75-2m6f, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could execute arbitrary JavaScript in the context of the user's browser.
What the attacker needed
Ability to set a run ID; victim views the run detail page
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When a web page inserts user-supplied text directly into its HTML without cleaning it, an attacker can include code that runs in the browser of anyone who views that page. Here, the run ID is shown without being made safe, so a malicious run ID can run JavaScript. This is called stored cross-site scripting because the harmful value is saved and later displayed.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.