AgentScope Cross-Origin Resource Sharing (CORS) vulnerability
Date: 2025-03
Affected: pip/agentscope
Attack vector: info-disclosure
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2024-8487
CWE: CWE-346
CVSS: 7.4 (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N)

A Cross-Origin Resource Sharing (CORS) vulnerability exists in modelscope/agentscope version v0.0.4. The CORS configuration on the agentscope server does not properly restrict access to only trusted origins, allowing any external domain to make requests to the API. This can lead to unauthorized data access, information disclosure, and potential further exploitation, thereby compromising the integrity and confidentiality of the system.


Mitigations:

Architectural layers (MAESTRO):