CVE-2020-13980: OpenCart Cross-site Scripting

opencart/opencart Updated 02 Oct 2025

Summary

24/05/2022
No i
Moderate
4.8

CVE-2020-13980: OpenCart Cross-site Scripting. Affects opencart/opencart versions < 3.0.3.3. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

OpenCart is an open-source e-commerce platform that allows users to create and manage online stores. It provides a range of features for product management, order processing, and customer management. OpenCart is widely used by businesses to establish their online presence and facilitate e-commerce transactions. However, OpenCart version 3.0.3.3 is vulnerable to a cross-site scripting (XSS) attack.

Vulnerability Detail

The vulnerability in OpenCart 3.0.3.3 allows remote authenticated users to conduct XSS attacks by exploiting a lack of entity encoding in the users' image upload section. This vulnerability arises due to an incomplete fix for CVE-2020-10596. Although the impact of this vulnerability is moderate, as it requires the attacker to be logged into the admin, it still poses a risk to the security and integrity of the affected OpenCart installations. The lack of entity encoding allows an attacker to inject malicious scripts into the application, potentially leading to unauthorized access, data theft, or other malicious activities.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. However, users can mitigate the risk by ensuring that only trusted and authenticated users have access to the admin section of OpenCart. Additionally, implementing a web application firewall (WAF) or security plugin can help detect and block XSS attacks.

Conclusion

OpenCart version 3.0.3.3 is vulnerable to a cross-site scripting (XSS) attack due to a lack of entity encoding in the users' image upload section. While the impact of this vulnerability is moderate, it is crucial for OpenCart users to update their installations to the latest version that includes a complete fix for CVE-2020-10596. By following the recommended steps and best practices, users can mitigate the risk of XSS attacks and ensure the security of their OpenCart-based online stores. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for opencart/opencart →

Share this vulnerability

FAQ

OpenCart is an open-source e-commerce platform used for creating and managing online stores.

CVE-2020-13980 is a vulnerability in OpenCart 3.0.3.3 that allows remote authenticated users to conduct XSS attacks.

XSS (Cross-Site Scripting) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users.

The impact of this vulnerability is moderate, as it requires the attacker to be logged into the admin section of OpenCart. However, it can still lead to unauthorized access, data theft, or other malicious activities.

To protect your OpenCart installation, it is recommended to update to the latest version that includes a complete fix for CVE-2020-10596. Additionally, ensure that only trusted and authenticated users have access to the admin section and consider implementing a web application firewall or security plugin.

Related vulnerabilities

Recent vulnerabilities recorded for opencart/opencart.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback