{"id":"CVE-2022-35933","aliases":["CVE-2022-35933","GHSA-prrh-qvhf-x788"],"related":[],"kind":"vulnerability","state":"published","title":"PrestaShop module Product Comments vulnerable to cross-site scripting (XSS)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nAn attacker could steal an admin's cookie\n\n### Patches\nThe issue is fixed in 5.0.2\n\n### References\n[Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')](https://cwe.mitre.org/data/definitions/79.html)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Este paquete es un módulo de PrestaShop que permite a usuarios publicar reseñas y calificar productos. Se presenta una vulnerabilidad por la que el atacante podría robar la cookie de un administrador. El problema ha sido corregido en versión 5.0.2","source":"nvd"}],"published":"2022-08-31T21:27:38.000Z","modified":"2026-06-17T04:52:33.140Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 5.0.2","status":"affected"}],"vendor":"PrestaShop","product":"productcomments","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.0.2"}],"ecosystem":"Packagist","package":"prestashop/productcomments","purl":"pkg:composer/prestashop/productcomments","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.0.2"}],"vendor":"prestashop","product":"productcomments","cpe":"cpe:2.3:a:prestashop:productcomments:*:*:*:*:*:prestashop:*:*","source":"nvd"}],"references":[{"url":"https://github.com/PrestaShop/productcomments/security/advisories/GHSA-prrh-qvhf-x788","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/PrestaShop/productcomments/commit/314456d739155aa71f0b235827e8e0f24b97c26b","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35933","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/PrestaShop/productcomments","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-23T14:01:32.762Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-35933","url":"https://www.cve.org/CVERecord?id=CVE-2022-35933","licence":"CVE Terms of Use","modified":"2025-04-23T17:32:24.970Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-prrh-qvhf-x788","url":"https://github.com/advisories/GHSA-prrh-qvhf-x788","licence":"CC-BY-4.0","modified":"2023-11-08T04:09:53.097Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-35933","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35933","licence":"Public domain","modified":"2026-06-17T04:52:33.140Z"}],"updatedAt":"2026-11-25T22:58:14.649Z","epss":{"score":0.00577,"percentile":0.4894,"date":"2026-12-01T12:00:22.000Z"}}