{"id":"CVE-2023-39527","published":"2023-08-07T20:32:45Z","modified":"2024-10-03T16:15:18Z","title":"PrestaShop XSS vulnerability through Validate::isCleanHTML method","vendor":"PrestaShop","product":"PrestaShop","tier":"tail","description":{"text":"PrestaShop is an open source e-commerce web application. Versions prior to 1.7.8.10, 8.0.5, and 8.1.1 are vulnerable to cross-site scripting through the `isCleanHTML` method. Versions 1.7.8.10, 8.0.5, and 8.1.1 contain a patch. There are no known workarounds.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00592,"percentile":0.42291,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-xw2r-f8xv-c8xp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/PrestaShop/PrestaShop/commit/afc14f8eaa058b3e6a20ac43e033ee2656fb88b4","tags":["x_refsource_MISC"]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":8.46},{"name":"CVSS severity","points":5.81}]},"vendorSlug":"prestashop","affectedVersions":[{"vendor":"PrestaShop","product":"PrestaShop","versions":["< 1.7.8.10",">= 8.0.0, < 8.0.5","= 8.1.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-03T16:01:22.952352Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"prestashop/prestashop","vulnerableRanges":[">=8.1.0, <8.1.1",">=8.0.0, <8.0.5","<1.7.8.10"],"patched":["8.1.1","8.0.5","1.7.8.10"],"from":["GHSA-xw2r-f8xv-c8xp"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting vulnerability in the PrestaShop e-commerce web application, located in its isCleanHTML validation method, which fails to properly neutralise HTML input. An attacker with high privileges, via a network connection, can exploit this with a victim's interaction, such as the victim being induced to view or act on crafted content, to run malicious scripts in the victim's browser session, with the attack affecting resources beyond the vulnerable component.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:35Z"},"euvd":{"id":"EUVD-2023-2385","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-prestashop-cve-2023-30838","parents":[{"from":"CVE-2023-30838","to":"CVE-2023-39527","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["classes/Validate.php"],"commits":["https://github.com/PrestaShop/PrestaShop/commit/46408ae4b02f3b8b1bb6e9dc63af5bcd858abd9c","https://github.com/PrestaShop/PrestaShop/commit/dc682192df0e4b0d656a8e645b29ca1b9dbe3693","https://github.com/PrestaShop/PrestaShop/commit/afc14f8eaa058b3e6a20ac43e033ee2656fb88b4"],"basis":"shared function","functions":["isCleanHtml"]}]}],"packageHistory":[{"cve":"CVE-2023-30839","published":"2023-04-25","fixed":"8.0.4","kev":false,"link":{"from":"CVE-2023-30839","to":"CVE-2023-39527","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:prestashop/prestashop","fromFixed":"1.7.8.9","toFixed":"1.7.8.10","daysApart":104},{"kind":"version-step","provenance":"source","package":"Packagist:prestashop/prestashop","fromFixed":"8.0.4","toFixed":"8.0.5","daysApart":104}]}},{"cve":"CVE-2023-39524","published":"2023-08-07","fixed":"8.1.1","kev":false},{"cve":"CVE-2023-39525","published":"2023-08-07","fixed":"8.1.1","kev":false},{"cve":"CVE-2023-39526","published":"2023-08-07","fixed":"8.1.1","kev":false},{"cve":"CVE-2023-39527","published":"2023-08-07","fixed":"8.1.1","kev":false},{"cve":"CVE-2023-39528","published":"2023-08-07","fixed":"8.1.1","kev":false},{"cve":"CVE-2023-39529","published":"2023-08-07","fixed":"8.1.1","kev":false},{"cve":"CVE-2023-39530","published":"2023-08-07","fixed":"8.1.1","kev":false}],"package":"Packagist:prestashop/prestashop"}}