{"id":"CVE-2022-35933","published":"2022-09-02T19:30:14Z","modified":"2025-04-23T17:32:24Z","title":"PrestaShop module Product Comments vulnerable to cross-site scripting (XSS)","vendor":"PrestaShop","product":"productcomments","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00577,"percentile":0.48486,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/PrestaShop/productcomments/security/advisories/GHSA-prrh-qvhf-x788","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/PrestaShop/productcomments/commit/314456d739155aa71f0b235827e8e0f24b97c26b","tags":["x_refsource_MISC"]}],"priority":{"score":12.7,"factors":[{"name":"EPSS percentile","points":9.7},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"prestashop","affectedVersions":[{"vendor":"PrestaShop","product":"productcomments","versions":["< 5.0.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T14:01:32.762241Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"prestashop/productcomments","vulnerableRanges":["<5.0.2"],"patched":["5.0.2"],"from":["GHSA-prrh-qvhf-x788"],"provenance":"source"}],"summary":{"text":"The Product Comments module (productcomments) for PrestaShop contains a cross-site scripting flaw that lets injected script run in a user's browser. An attacker can exploit it over the network without authentication, but it requires a user to interact with a crafted page, and the attack can be used to steal an administrator's cookie.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:54:30Z"},"euvd":{"id":"EUVD-2022-6598","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-prestashop-productcomments-cve-2020-26225","parents":[{"from":"CVE-2020-26248","to":"CVE-2022-35933","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["productcomments.php"],"commits":["https://github.com/PrestaShop/productcomments/commit/7c2033dd811744e021da8897c80d6c301cd45ffa","https://github.com/PrestaShop/productcomments/commit/314456d739155aa71f0b235827e8e0f24b97c26b"],"basis":"rarely changed file"}]}]}}