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

- Severity: Medium 4.8 (CVSS:4.0, scored by Secur0) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-08-27T19:33:27.288Z
- Modified: 2026-09-01T20:52:27.110Z
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Secur0

## 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.

(As written by CVE List.)

## Affected

- Roskus Prospero Flow CRM: before 5.16.0

## References

- <https://github.com/Roskus/prospero-flow-crm/commit/71b20e1a37f4381d1b8b0a6933a942324e1cc19f> (patch)
- <https://secur0.com/en/cna/cve-list/cve-2026-81931-unrestricted-upload-product-photo-extension-confusion-xss> (technical-description, third-party-advisory)

## Sources

- CVE List: [CVE-2026-81931](https://www.cve.org/CVERecord?id=CVE-2026-81931), CVE Terms of Use, modified 2026-08-28
- NVD: [CVE-2026-81931](https://nvd.nist.gov/vuln/detail/CVE-2026-81931), Public domain, modified 2026-09-01

---

Page: https://cve.day/CVE-2026-81931 · Whole record: https://cve.day/CVE-2026-81931.json · Rebuilt by cve.day 2026-11-25T22:59:35.547Z
