CVE-2021-25963: Reflected Cross-Site Scripting (XSS) in Shuup

shuup Updated 02 Oct 2025

Summary

30/09/2021
Yes i
Moderate
6.1

CVE-2021-25963: In Shuup, versions 1.6.0 through 2.10.8 are vulnerable to reflected Cross-Site Scripting (XSS) that allows execution of arbitrary javascript code on a victim browser. Affects shuup across 2 version ranges.

>= 1.6.0, < 2.11.0 < 75714c37e32796eb7cbb0d977af5bcaa26573588

Fixed in 75714c37e32796eb7cbb0d977af5bcaa26573588. 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

Shuup is an open-source e-commerce platform written in Python. It provides a range of features for building online stores, including product management, order processing, and payment integration. Shuup versions 1.6.0 through 2.10.8 are affected by a reflected Cross-Site Scripting (XSS) vulnerability. This vulnerability allows an attacker to inject and execute arbitrary JavaScript code on a victim's browser. The vulnerability arises from the lack of proper escaping of error page contents.

Vulnerability Detail

The reflected XSS vulnerability in Shuup can be exploited by an attacker to inject malicious JavaScript code into error pages. When a user encounters an error, the error page is displayed without proper sanitization, allowing the execution of arbitrary code in the victim's browser. This can lead to various attacks, such as stealing sensitive information, session hijacking, or performing actions on behalf of the victim. The vulnerability was identified in versions 1.6.0 through 2.10.8 of Shuup.

How To Fix

Minimum fixed version

75714c37e32796eb7cbb0d977af5bcaa26573588

This is the first release that contains the fix.

pip install --upgrade "shuup==75714c37e32796eb7cbb0d977af5bcaa26573588"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, developers can manually escape and sanitize error page contents before displaying them to users. This can be achieved by using appropriate HTML encoding functions or libraries. However, applying the official fix by upgrading to a patched version is strongly recommended.

Conclusion

The reflected Cross-Site Scripting (XSS) vulnerability in Shuup versions 1.6.0 through 2.10.8 allows an attacker to execute arbitrary JavaScript code on a victim's browser. It is crucial to upgrade to Shuup version 2.11.0 or later to mitigate this vulnerability. Developers can also manually escape and sanitize error page contents as a temporary workaround. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for shuup →

Share this vulnerability

FAQ

The vulnerability allows an attacker to execute arbitrary JavaScript code on a victim's browser, potentially leading to various attacks such as information theft or session hijacking.

Versions 1.6.0 through 2.10.8 of Shuup are affected by this vulnerability.

You can use Vulert's vulnerability playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your Pipfile.lock, and Vulert will analyze it for vulnerabilities.

A temporary workaround is to manually escape and sanitize error page contents before displaying them. However, upgrading to a patched version is strongly recommended.

Related vulnerabilities

Recent vulnerabilities recorded for shuup.

How To Fix

Minimum fixed version

75714c37e32796eb7cbb0d977af5bcaa26573588

This is the first release that contains the fix.

pip install --upgrade "shuup==75714c37e32796eb7cbb0d977af5bcaa26573588"

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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