{"id":"CVE-2026-81931","published":"2026-08-27T19:33:27Z","modified":"2026-08-28T15:36:24Z","title":"Unrestricted upload of file with dangerous type in Prospero Flow CRM product photo allows stored cross-site scripting","vendor":"Roskus","product":"Prospero Flow CRM","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00485,"percentile":0.345,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/Roskus/prospero-flow-crm/commit/71b20e1a37f4381d1b8b0a6933a942324e1cc19f","tags":["patch"]},{"url":"https://secur0.com/en/cna/cve-list/cve-2026-81931-unrestricted-upload-product-photo-extension-confusion-xss","tags":["third-party-advisory","technical-description"]}],"priority":{"score":10.3,"factors":[{"name":"EPSS percentile","points":6.9},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"roskus","affectedVersions":[{"vendor":"Roskus","product":"Prospero Flow CRM","versions":["< 5.16.0"]}],"solutions":{"items":["Upgrade to 5.16.0 or later from the main branch; no tagged release carries the fix. Review and remove any existing files with a non-image extension under public/asset/upload/product/."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-592","name":"Stored XSS"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-28T15:35:59.109807Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-67225","exploited":false,"provenance":"source"}}