CSRF due to overly permissive CORS headers in modelscope/agentscope
modelscope/agentscope
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| modelscope modelscope/agentscope |
| No fix yet |
Original description
A vulnerability in modelscope/agentscope, specifically in the AgentScope Studio backend server, allows for Cross-Site Request Forgery (CSRF) due to overly permissive CORS headers. This issue affects the latest commit on the main branch (21161fe). The vulnerability permits an attacker to access all backend endpoints, including the `api/file` endpoint, enabling the reading of arbitrary files on the target's local file system through CSRF.
From the CVE record · @huntr_ai