# CVE-2022-35933: PrestaShop module Product Comments vulnerable to cross-site scripting (XSS)

- Severity: Medium 4.3 (CVSS:3.0, scored by GitHub_M) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 48% of CVEs (2026-12-01)
- Published: 2022-08-31T21:27:38.000Z
- Modified: 2026-06-17T04:52:33.140Z
- Also known as: GHSA-prrh-qvhf-x788
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

This package is a PrestaShop module that allows users to post reviews and rate products. There is a vulnerability where the attacker could steal an administrator's cookie. The issue is fixed in version 5.0.2.

(As written by CVE List.)

## Affected

- PrestaShop productcomments: < 5.0.2; before 5.0.2
- prestashop/productcomments (Packagist): before 5.0.2

## Every score

- GitHub_M: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/PrestaShop/productcomments/security/advisories/GHSA-prrh-qvhf-x788> (third-party-advisory, web)
- <https://github.com/PrestaShop/productcomments/commit/314456d739155aa71f0b235827e8e0f24b97c26b> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-35933> (advisory)
- <https://github.com/PrestaShop/productcomments> (package)

## Sources

- CVE List: [CVE-2022-35933](https://www.cve.org/CVERecord?id=CVE-2022-35933), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-prrh-qvhf-x788](https://github.com/advisories/GHSA-prrh-qvhf-x788), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-35933](https://nvd.nist.gov/vuln/detail/CVE-2022-35933), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-35933 · Whole record: https://cve.day/CVE-2022-35933.json · Rebuilt by cve.day 2026-11-25T22:58:14.649Z
