Skip to content
MediumVulnerability

CVE-2025-57203: MagicProject AI stored XSS via prompt in chatbot generator endpoint

Identifier
CVE-2025-57203
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

MagicProject AI version 9.1 contains a stored Cross-Site Scripting (XSS) flaw, tracked as CVE-2025-57203, in the chatbot generation feature. An authenticated admin can submit HTML-based JavaScript through the prompt parameter of a multipart/form-data POST to /dashboard/user/generator/generate-stream, and the payload is rendered unsanitized in later views. Other users who access the affected content can have arbitrary JavaScript run in their browser context, enabling session hijacking, privilege escalation, data exfiltration or administrative account takeover.

Mitigation

A fix should include proper sanitization, output encoding, and strong CSP enforcement to mitigate exploitation.