Technical impact
Bagisto versions earlier than 2.4.5 allow authenticated customers to upload an HTML file as an RMA conversation attachment without validating the file type or extension. The uploaded file is stored under /storage/rma-conversation/ and served as a regular file. If an administrator opens the attachment, the browser executes the embedded JavaScript within the shop’s origin, enabling attacker‑controlled client‑side code to run with the administrator’s privileges. This can lead to cookie theft, session hijacking, defacement, or the execution of additional malicious actions in the context of the shop.
Affected Systems
The vulnerability affects the Webkul:Bagisto e‑commerce framework, specifically all releases prior to 2.4.5. Any deployment of these versions that has enabled the RMA send‑message endpoint for customer use is at risk.
Risk and Exploitability
The assigned CVSS score of 2.1 classifies the issue as low severity, and the vulnerability has not been listed in the CISA KEV catalog. Exploitation requires that the attacker be an authenticated customer with permission to upload, but does not require any special privileges beyond normal account access. While the explosion probability is not quantified in EPSS, the widespread user base of Bagisto implies that many potential attackers could exploit the flaw if they have an account on the site and choose to upload a malicious attachment. Administrators reviewing or downloading attachments are the primary vectors for exploitation, as the JavaScript executes only when the attachment is opened.