Description
Bagisto before 2.4.4 contains a stored cross-site scripting vulnerability via client-side template injection that allows unauthenticated attackers to execute arbitrary JavaScript in administrator browsers by registering a customer account with malicious payload in the first or last name field. The create.blade.php template renders customer name fields without the Vue.js v-pre directive, causing Vue.js to evaluate stored template expressions as live JavaScript when an administrator opens the Create Order page for the affected customer.
Problem types
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
Any version before 2.4.4
Credits
Aaron Amran Bin Amiruddin
References
github.com/bagisto/bagisto/releases/tag/v2.4.4 (Release Notes)
github.com/...ommit/49d0c3fc90dedf8782c45c5979df4f4595d6bb97 (Patch Commit)
www.vulncheck.com/...stored-xss-via-csti-in-create-blade-php