CVE-2025-57203
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-09-22

Last updated on: 2025-10-03

Assigner: MITRE

Description
MagicProject AI version 9.1 is affected by a Cross-Site Scripting (XSS) vulnerability within the chatbot generation feature available to authenticated admin users. The vulnerability resides in the prompt parameter submitted to the /dashboard/user/generator/generate-stream endpoint via a multipart/form-data POST request. Due to insufficient input sanitization, attackers can inject HTML-based JavaScript payloads. This payload is stored and rendered unsanitized in subsequent views, leading to execution in other users' browsers when they access affected content. This issue allows an authenticated attacker to execute arbitrary JavaScript in the context of another user, potentially leading to session hijacking, privilege escalation, data exfiltration, or administrative account takeover. The application does not implement a Content Security Policy (CSP) or adequate input filtering to prevent such attacks. A fix should include proper sanitization, output encoding, and strong CSP enforcement to mitigate exploitation.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-09-22
Last Modified
2025-10-03
Generated
2026-05-07
AI Q&A
2025-09-22
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
liquidlabs magicai 9.1
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart