CVE-2025-57203
BaseFortify
Publication date: 2025-09-22
Last updated on: 2025-10-03
Assigner: MITRE
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| liquidlabs | magicai | 9.1 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a Cross-Site Scripting (XSS) issue in MagicProject AI version 9.1, specifically in the chatbot generation feature accessible to authenticated admin users. It occurs because the 'prompt' parameter in a POST request is not properly sanitized, allowing attackers to inject malicious JavaScript code. This code is stored and later executed in other users' browsers when they view the affected content.
How can this vulnerability impact me? :
An attacker exploiting this vulnerability can execute arbitrary JavaScript in the context of other users, potentially leading to session hijacking, privilege escalation, data theft, or even takeover of administrative accounts.
What immediate steps should I take to mitigate this vulnerability?
Immediate steps to mitigate this vulnerability include restricting access to the affected chatbot generation feature to trusted authenticated admin users only, avoiding the use of the vulnerable prompt parameter until a patch is applied, and monitoring for suspicious activity related to the /dashboard/user/generator/generate-stream endpoint. Applying proper input sanitization and output encoding, as well as implementing a strong Content Security Policy (CSP), are recommended fixes but require updates to the application code.