CVE-2026-81931: Unrestricted upload of file with dangerous type in Prospero Flow CRM product photo allows stored cross-site scripting

Published Aug 27, 2026
·
Updated

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.

Affected Software

1 affected component
Roskus Prospero Flow CRM<5.16.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Roskus Prospero Flow CRM to a version that resolves this vulnerability.

    Fixed in 5.16.0
  2. Remove

    Remove public/asset/upload/product/ (files with non-image extension) from your environment.

    Review and remove any existing files with a non-image extension under public/asset/upload/product/.

Event History

Aug 27, 2026
CVE Published
via MITRE·07:33 PM
Data Sourced
via MITRE·07:33 PM
RemedyDescriptionWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated user with permission to create products can exploit it. The affected permission is described as part of the routine Seller role.

2

Which deployments are affected?

Roskus Prospero Flow CRM versions before 5.16.0 are affected. The vulnerable upload path places product photos under the publicly served public/asset/upload/product/ directory.

3

What does an attacker need to upload?

The attacker needs a file that starts with an image header so it passes content-based validation, while using an HTML extension supplied by the client. The application preserves that extension and serves the resulting file as text/html, allowing JavaScript execution in the application origin.

4

How can administrators identify potentially malicious uploads?

Review files in public/asset/upload/product/ for HTML files or other unexpected client-supplied extensions, particularly files that contain an image header but include HTML or JavaScript content. Such files may have been accepted as product photos and publicly served as HTML.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203