CVE-2026-81931: CWE-434 Unrestricted upload of file with dangerous type in Roskus Prospero Flow CRM
Description
CVE-2026-81931 is a medium severity vulnerability in Roskus Prospero Flow CRM versions prior to 5.16.0. It allows an authenticated user with create product permission to upload files with dangerous types, leading to stored cross-site scripting (XSS) via arbitrary JavaScript execution. The vulnerability arises because the product photo upload feature validates files only by magic bytes and rejects a fixed list of PHP extensions, but uses the client-supplied file extension when storing the file in the public web root. This enables an attacker to upload a file that starts with an image header but has an HTML extension, which is served as text/html and executes script in the application origin.
CVSS v4.0
Score 4.8medium
Affected software
Roskus
Prospero Flow CRM
pkg:github/Prospero Flow CRMcpe:2.3:a:roskus:prospero_flow_crm:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Roskus Prospero Flow CRM before version 5.16.0 involves unrestricted upload of files with dangerous types in the product photo upload functionality. The validation mechanism checks only the file content (magic bytes) and excludes certain PHP extensions, but does not restrict other extensions such as HTML. The ProductSaveController::save() method stores the uploaded file using the client-supplied extension in a publicly accessible directory. An attacker with authenticated create product permission can upload a file that begins with an image header but has an HTML extension, causing the file to be served with a text/html content type. This results in first-party stored cross-site scripting (XSS) allowing arbitrary JavaScript execution within the application origin.
Potential Impact
An authenticated user with create product permission can exploit this vulnerability to execute arbitrary JavaScript in the context of the application origin. This can lead to stored cross-site scripting attacks, potentially allowing session hijacking, unauthorized actions, or other client-side attacks within the CRM application. The impact is limited to users who have the required permission and requires authentication.
Mitigation Recommendations
No official fix or patch is currently confirmed for this vulnerability. Users should check the vendor advisory for updates. Until a fix is available, restrict or monitor users with create product permissions to reduce risk. Consider implementing additional validation on file extensions and storage locations to prevent execution of uploaded files as scripts.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Secur0
- Date Reserved
- 2026-08-27T18:47:15.950Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a909d01acd9273b49b2d3ca
Added to database: 08/27/2026, 20:24:33 UTC
Last enriched: 09/10/2026, 03:52:53 UTC
Last updated: 10/11/2026, 06:48:19 UTC
Views: 91
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.