OpenCart 3.0.3.2 allows remote authenticated users to conduct XSS attacks

Overview :

OpenCart 3.0.3.2 allows remote authenticated users to conduct XSS attacks via a crafted filename in the users’ image upload section.

What version of OpenCart are you reporting this for?

Opencart 3.0.3.2

Describe the bug

Stored Cross Site Scripting (XSS) – Authenticated is found in users image upload section in opencart admin panel. Opencart is accepting filenames with arbitrary code in it and not escaping them so the JavaScript get executed. Malicious script in the admin dashboard can be injected permanently and can be used to steal the user’s sensitive information like cookies, keystrokes, account information etc.

Server / Test environment (please complete the following information):

Facebook
Twitter
LinkedIn

Recent Blog Posts

Best Tools to Identify Broken Access Control in APIs
Top Made-in-India Enterprise Cybersecurity Solutions (2025 Guide)
How to Choose the Right Cloud WAF for Your Business in 2025
Top 10 Cybersecurity Companies in India - 2025 Edition
Top 10 Network Security Solutions for 2025

WAF Solution