CVE-2026-81931 Unrestricted upload of file with dangerous type in Prospero Flow CRM product photo allows stored cross-site scripting
Authenticated users can upload malicious files to execute arbitrary JavaScript in the CRM application via stored XSS.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-81931?
CVE-2026-81931 is a medium-severity vulnerability in Roskus Prospero Flow CRM, published on 27 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Unrestricted Upload of File with Dangerous Type in the product photo upload in Roskus Prospero Flow CRM before 5.16.0 allows an authenticated user holding the create product permission (routine Seller role) to execute arbitrary JavaScript in the application origin. The photo validation rule classifies the file only by its content (magic bytes) and rejects only a fixed list of PHP extensions, while ProductSaveController::save() names the stored file using the client-supplied extension and copies it into the public web root. A file that begins with an image header and carries an HTML extension passes validation, is stored under public/asset/upload/product/, and is served with a text/html content type, turning the upload into first-party stored script execution.
Weakness: CWE-434
Which versions are affected by CVE-2026-81931?
How do I fix CVE-2026-81931?
No fix has been published for CVE-2026-81931 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-81931 being exploited?
There is no known exploitation of CVE-2026-81931 in the wild and no public exploit code.
Sources
Also known as GHSA-2g3f-q348-c747.