{"id":"CVE-2020-26225","published":"2020-11-16T21:35:13Z","modified":"2024-08-04T15:49:07Z","title":"Reflected XSS in PrestaShop Product Comments","vendor":"PrestaShop","product":"productcomments","tier":"tail","description":{"text":"In PrestaShop Product Comments before version 4.2.0, an attacker could inject malicious web code into the users' web browsers by creating a malicious link. The problem was introduced in version 4.0.0 and is fixed in 4.2.0","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00886,"percentile":0.60136,"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-58w4-w77w-qv3w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/PrestaShop/productcomments/commit/c56e3e9495c4a0a9c1e7dc43e1bb0fcad2796dbf","tags":["x_refsource_MISC"]}],"priority":{"score":18.1,"factors":[{"name":"EPSS percentile","points":12.03},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"prestashop","affectedVersions":[{"vendor":"PrestaShop","product":"productcomments","versions":[">= 4.0.0, < 4.2.0"]}],"affected":[{"ecosystem":"Packagist","package":"prestashop/productcomments","vulnerableRanges":[">=4.0.0, <4.2.0"],"patched":["4.2.0"],"from":["GHSA-58w4-w77w-qv3w"],"provenance":"source"}],"summary":{"text":"The Product Comments module (productcomments) for PrestaShop contains a reflected cross-site scripting flaw in versions before 4.2.0, introduced in 4.0.0 and fixed in 4.2.0. An attacker who gets a user to open a crafted link, which requires user interaction and low privileges, can run malicious script in the victim's browser, with high confidentiality and integrity impact and no direct availability impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:39Z"},"euvd":{"id":"EUVD-2020-1446","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-prestashop-productcomments-cve-2020-26225","children":[{"from":"CVE-2020-26225","to":"CVE-2020-26248","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:prestashop/productcomments","fromFixed":"4.2.0","toFixed":"4.2.1","daysApart":17},{"kind":"same-code","provenance":"machine","files":["controllers/front/CommentGrade.php","controllers/front/ListComments.php"],"commits":["https://github.com/PrestaShop/productcomments/commit/c56e3e9495c4a0a9c1e7dc43e1bb0fcad2796dbf","https://github.com/PrestaShop/productcomments/commit/7c2033dd811744e021da8897c80d6c301cd45ffa"],"basis":"shared function","functions":["display"]},{"kind":"similar","provenance":"machine","score":0.23,"basis":"same product + description similarity"}]}],"packageHistory":[{"cve":"CVE-2020-26225","published":"2020-11-16","fixed":"4.2.0","kev":false},{"cve":"CVE-2020-26248","published":"2020-12-03","fixed":"4.2.1","kev":false},{"cve":"CVE-2022-35933","published":"2022-09-02","fixed":"5.0.2","kev":false}],"package":"Packagist:prestashop/productcomments"}}