Description
Bagisto before 2.4.5 contains a stored cross-site scripting vulnerability that allows authenticated customers to upload HTML files via the RMA send-message endpoint without type or extension validation. Attackers can upload a .html attachment containing JavaScript served under /storage/rma-conversation/, executing script in the shop's origin when an administrator opens it.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Webkul Bagisto
Default version status: unaffected
0 to < 2.4.5affected
pkg:github/bagisto/bagistoReferences
- https://github.com/bagisto/bagisto/commit/204e43c26705b66ef2ddfb2a9eebb25f5e8f6a2c ↗
- https://github.com/bagisto/bagisto ↗
- https://github.com/bagisto/bagisto/commit/e28db3e8c53a94a99cf153ac338466720acd9004 ↗
- https://github.com/bagisto/bagisto/blob/v2.4.4/packages/Webkul/Shop/src/Http/Controllers/Customer/Account/RMAController.php#L408 ↗
- https://github.com/bagisto/bagisto/releases/tag/v2.4.5 ↗
- https://www.vulncheck.com/advisories/bagisto-before-2.4.5-stored-xss-via-rma-conversation-attachment-upload ↗