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 before version 5.16.0. It allows an authenticated user with create product permission to upload files with dangerous types that can lead to arbitrary JavaScript execution in the application origin. The vulnerability arises because the product photo upload feature validates files only by their content signature and rejects only certain PHP extensions, but stores files using the client-supplied extension in a public web directory. This enables an attacker to upload a file that appears as an image by header but has an HTML extension, which is served as text/html and executed by browsers.
CVSS v4.0
Score 4.8medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CWE-434) in Roskus Prospero Flow CRM before 5.16.0 involves unrestricted upload of files with dangerous types via the product photo upload feature. The system validates files based on magic bytes and excludes only a fixed list of 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 the public web root directory (public/asset/upload/product/). An attacker with create product permission (typically a Seller role) can upload a file starting with an image header but with an HTML extension, which passes validation and is served with a text/html content type. This results in first-party stored script execution, allowing arbitrary JavaScript execution within the application's 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 potential cross-site scripting (XSS) attacks, enabling actions such as session hijacking, unauthorized actions, or data theft within the application. The vulnerability does not require elevated privileges beyond the create product permission and does not require user interaction beyond authentication.
Mitigation Recommendations
No official patch or fix is currently available as per the provided data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict the create product permission to trusted users only and monitor uploads for suspicious file extensions. Consider implementing additional server-side validation to reject files with dangerous extensions beyond PHP, especially HTML or script-related extensions. Avoid serving uploaded files from public web directories without proper content-type restrictions or sanitization.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-2g3f-q348-c747
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-81931"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a91a858acd9273b490696b4
Added to database: 08/28/2026, 15:25:12 UTC
Last enriched: 09/09/2026, 23:23:30 UTC
Last updated: 10/13/2026, 06:48:20 UTC
Views: 44
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.