{"id":"CVE-2022-35933","aliases":["EUVD-2022-6598","GHSA-prrh-qvhf-x788"],"status":"published","title":"PrestaShop module Product Comments vulnerable to cross-site scripting (XSS)","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.","severity":{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00561,"percentile":0.46924,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-08-31T21:27:38Z","modified":"2026-10-28T02:30:34Z","fixes":[{"ecosystem":"Packagist","package":"prestashop/productcomments","fixed_in":["5.0.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"prestashop/productcomments","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.2"}]}]},{"source":"osv","ecosystem":"Packagist","package":"prestashop/productcomments","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.2"}]}],"versions":["4.2.1","v3.6.0","v3.6.1","v4.0.0","v4.0.1","v4.1.0","v4.2.0","v4.2.2","v5.0.0","v5.0.1"]}],"products":[{"vendor":"prestashop","product":"productcomments"}],"references":[{"url":"https://github.com/PrestaShop/productcomments/security/advisories/GHSA-prrh-qvhf-x788","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/PrestaShop/productcomments/commit/314456d739155aa71f0b235827e8e0f24b97c26b","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35933","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-prrh-qvhf-x788"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35933.json","tags":["advisory"]},{"url":"https://github.com/PrestaShop/productcomments","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-35933","title":"PrestaShop module Product Comments vulnerable to cross-site scripting (XSS)","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.","status":"published","published":"2022-09-02T19:30:14Z","modified":"2025-04-23T17:32:24.97Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:40.275153Z"}],"euvd":[{"id":"EUVD-2022-6598","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.","status":"published","published":"2022-09-02T19:30:14Z","modified":"2025-04-23T17:32:24Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T20:52:10.363195Z"}],"ghsa":[{"id":"GHSA-prrh-qvhf-x788","title":"PrestaShop Product Comments Cross-site Scripting vulnerability","description":"### 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)\n","status":"published","published":"2022-08-31T21:27:38Z","modified":"2023-01-31T05:09:04Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:29.957996Z"}],"nvd":[{"id":"CVE-2022-35933","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.","status":"published","published":"2022-09-02T20:15:08.51Z","modified":"2026-06-17T04:52:33.14Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:26.802986Z"}],"osv":[{"id":"CVE-2022-35933","title":"PrestaShop module Product Comments vulnerable to cross-site scripting (XSS)","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.","status":"published","published":"2022-09-02T19:30:14Z","modified":"2026-10-28T02:30:34.250897379Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:26.195407Z"},{"id":"GHSA-prrh-qvhf-x788","title":"PrestaShop Product Comments Cross-site Scripting vulnerability","description":"### 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)\n","status":"published","published":"2022-08-31T21:27:38Z","modified":"2023-11-08T04:09:53.097557Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:53.700556Z"}]}}
