PyPi: Shuup

CVE-2021-25963

Safety vulnerability ID: 41033

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Sep 30, 2021 Updated at Mar 29, 2024
Scan your Python projects for vulnerabilities →

Advisory

Shuup 2.11.0 includes a fix for CVE-2021-25963: 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. This vulnerability exists due to the error page contents not escaped.
https://github.com/shuup/shuup/commit/75714c37e32796eb7cbb0d977af5bcaa26573588
https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25963

Affected package

shuup

Latest version: 3.1.0

E-Commerce Platform

Affected versions

Fixed versions

Vulnerability changelog

Added

- GDPR: create a snippet blocker to prevent injection when cookie is not consented
- Xtheme: create `xtheme_snippet_blocker` provides to allow blocking a global script injection
- Xtheme: add name a `Snippet` object
- Reports: add CSV report writer

Fixed

- Front: fix so orders that are canceled can't be payed for
- General: fix critical vulnerability on views that were returning not escaped content making it open to XSS attacks
- Admin: fix code mirror destruction by node id

Changed

- Reports: clean malicius content from the HTML and CSV exporters
- Reports: prevent formulas from being exported in excel writer
- Tests: log errors into a log file
- Admin: hide email template button based on permission
- Reports: improve log when an importer fails

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

MEDIUM 6.1

CVSS v3 Details

MEDIUM 6.1
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
REQUIRED
Scope (S)
CHANGED
Confidentiality Impact (C)
LOW
Integrity Impact (I)
LOW
Availability Availability (A)
NONE

CVSS v2 Details

MEDIUM 4.3
Access Vector (AV)
NETWORK
Access Complexity (AC)
MEDIUM
Authentication (Au)
NONE
Confidentiality Impact (C)
NONE
Integrity Impact (I)
PARTIAL
Availability Impact (A)
NONE