VDB
Sign up
MEDIUM6.1

PYSEC-2026-1076

AgentScope stored cross-site scripting (XSS) vulnerability

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/agentscope
Introduced in: 0

No fixed version published yet for agentscope (pip). Pin to a known-safe version or switch to an alternative.

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/agentscope"]}'