{"id":"GHSA-prrh-qvhf-x788","summary":"PrestaShop Product Comments Cross-site Scripting vulnerability","details":"### 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","aliases":["CVE-2022-35933"],"modified":"2023-11-08T04:09:53.097557Z","published":"2022-08-31T21:27:38Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-08-31T21:27:38Z","nvd_published_at":"2022-09-02T20:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/PrestaShop/productcomments/security/advisories/GHSA-prrh-qvhf-x788"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35933"},{"type":"WEB","url":"https://github.com/PrestaShop/productcomments/commit/314456d739155aa71f0b235827e8e0f24b97c26b"},{"type":"PACKAGE","url":"https://github.com/PrestaShop/productcomments"}],"affected":[{"package":{"name":"prestashop/productcomments","ecosystem":"Packagist","purl":"pkg:composer/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-prrh-qvhf-x788/GHSA-prrh-qvhf-x788.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N"}]}