Vulnerability

CVE-2025-57203

mediumCVSS 3.1 4.8Published 22 Sep 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Liquidlabs magicai

Weakness type

References

  • codecanyon.net /item/magicai-openai-content-text-image-chat-code-generator…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning