Skip to main content
VulnerabilityPublished Updated

CVE-2025-57203: MagicProject AI · Cross-site Scripting

Source CVE Database V5

0

Not known to be exploited · CVSS 4.8 Medium.

Data as of 26 Oct 2026, 11:07 UTC

CVSS 3.1 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

AI-suggested

  1. Immediately apply patches or updates from the vendor once available. In the absence of official patches, implement strict input validation and sanitization on the 'prompt' parameter to block HTML and JavaScript injection.
  2. Employ output encoding techniques (e.g., HTML entity encoding) when rendering user-supplied content to prevent script execution.
  3. Configure and enforce a strong Content Security Policy (CSP) that restricts inline scripts and only allows trusted script sources, mitigating the impact of any injected scripts.
  4. Limit administrative access strictly to trusted personnel and enforce multi-factor authentication to reduce the risk of credential compromise.
  5. Monitor logs and user activity for suspicious behavior related to the chatbot generation feature.
  6. Conduct security awareness training for admins to recognize phishing or social engineering attempts that could lead to credential theft.
  7. Consider implementing web application firewalls (WAF) with rules to detect and block XSS payloads targeting the vulnerable endpoint.
  8. Regularly review and audit the application’s code and third-party components for similar input validation weaknesses.

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.

References

Community reviews

Loading reviews…