# CVE-2022-35933: PrestaShop Product Comments Cross-site Scripting vulnerability

Source: https://junglewise.ai/threats/cve-2022-35933-prestashop-product-comments-cross-site-scripting-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-08-31  
License: CC BY 4.0 with a link back

CVE-2022-35933 · Severity: low · CVSS 3 · Published 2022-08-31

PrestaShop Product Comments Cross-site Scripting vulnerability

Technologies: [prestashop/productcomments (Packagist)](https://junglewise.ai/threats/technologies/prestashop-productcomments). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2022-35933 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-35933 being exploited in the wild.

**How severe is CVE-2022-35933?** Low severity, with a CVSS score of 3, published 31 August 2022.

**Which products and versions are affected?** prestashop/productcomments (Packagist) ECOSYSTEM:introduced=0,fixed=5.0.2.

**Is there a fix for CVE-2022-35933?** Yes. prestashop/productcomments (Packagist): upgrade to 5.0.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-35933?** Check whether you run prestashop/productcomments (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- prestashop/productcomments (Packagist): upgrade to 5.0.2 or later

  ```sh
  composer require prestashop/productcomments:^5.0.2
  ```


## Affected products

- prestashop/productcomments (Packagist) ECOSYSTEM:introduced=0,fixed=5.0.2

## Identifiers

- CVE-2022-35933
- GHSA-prrh-qvhf-x788

## Related threats

- [Blind SQL injection in PrestaShop productcomments module](https://junglewise.ai/threats/cve-2020-26248-blind-sql-injection-in-prestashop-productcomments-module)
- [Reflected XSS with parameters in PostComment](https://junglewise.ai/threats/cve-2020-26225-reflected-xss-with-parameters-in-postcomment)
