CVE-2022-35933
PrestaShop module Product Comments vulnerable to cross-site scripting (XSS)
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
4.3
PrestaShop module Product Comments vulnerable to cross-site scripting (XSS)
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.
- Record
CVE-2022-35933- 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 - Weakness
- CWE-79
- Updated
- 2026-11-02
EUVDEUVD-2022-6598
4.3
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.
- Record
EUVD-2022-6598- 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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-prrh-qvhf-x788
4.3
PrestaShop Product Comments Cross-site Scripting vulnerability
Impact
An attacker could steal an admin's cookie
Patches
The issue is fixed in 5.0.2
References
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- Record
GHSA-prrh-qvhf-x788- 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 - Weakness
- CWE-79
- Updated
- 2026-11-02
NVD
6.1
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.
- Record
CVE-2022-35933- 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 - 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 - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
4.3
PrestaShop module Product Comments vulnerable to cross-site scripting (XSS)
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.
- Record
CVE-2022-35933- 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 - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVGHSA-prrh-qvhf-x788
4.3
PrestaShop Product Comments Cross-site Scripting vulnerability
Impact
An attacker could steal an admin's cookie
Patches
The issue is fixed in 5.0.2
References
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- Record
GHSA-prrh-qvhf-x788- 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 - Weakness
- CWE-79
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
prestashop/productcommentsPackagist |
before 5.0.2 | 5.0.2 |
prestashop/productcommentsPackagist |
before 5.0.2, plus listed versions 4.2.1v3.6.0v3.6.1v4.0.0v4.0.1 Show 5 moreShow lessv4.1.0v4.2.0v4.2.2v5.0.0v5.0.1 |
5.0.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-35933 is a medium vulnerability (CVSS 4.3) in Prestashop Productcomments, published August 31, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.56%, the 46th percentile. Fixed in prestashop/productcomments 5.0.2.
References
github.com/PrestaShop/productcomments/security/advisories/GHSA-prrh-qvhf-x788
github.com/PrestaShop/productcomments/commit/314456d739155aa71f0b235827e8e0f24b97c26b
nvd.nist.gov/vuln/detail/CVE-2022-35933
github.com/advisories/GHSA-prrh-qvhf-x788
github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35933.json
github.com/PrestaShop/productcomments