{"id":"CVE-2022-46158","published":"2022-12-08T21:50:44Z","modified":"2025-04-23T16:30:45Z","title":"Potential Information exposure in the upload directory in PrestaShop","vendor":"PrestaShop","product":"PrestaShop","tier":"tail","description":{"text":"PrestaShop is an open-source e-commerce solution. Versions prior to 1.7.8.8 did not properly restrict host filesystem access for users. Users may have been able to view the contents of the upload directory without appropriate permissions. This issue has been addressed and users are advised to upgrade to version 1.7.8.8. There are no known workarounds for this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00513,"percentile":0.44647,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-9qgp-9wwc-v29r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/PrestaShop/PrestaShop/commit/8684d429fb7c3bb51efb098e8b92a1fd2958f8cf","tags":["x_refsource_MISC"]}],"priority":{"score":12.6,"factors":[{"name":"EPSS percentile","points":8.93},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"prestashop","affectedVersions":[{"vendor":"PrestaShop","product":"PrestaShop","versions":["< 1.7.8.8"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-23T15:47:57.898181Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"prestashop/prestashop","vulnerableRanges":["<1.7.8.8"],"patched":["1.7.8.8"],"from":["GHSA-9qgp-9wwc-v29r"],"provenance":"source"}],"summary":{"text":"The flaw is in PrestaShop, the open-source e-commerce platform, where versions prior to 1.7.8.8 did not properly restrict host filesystem access, exposing the contents of the upload directory. An attacker with network access and no authentication or user interaction could view files in that upload directory, which exposes sensitive information.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:52:44Z"},"euvd":{"id":"EUVD-2022-7588","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-prestashop-cve-2020-15080","parents":[{"from":"CVE-2020-15080","to":"CVE-2022-46158","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["classes/Tools.php"],"commits":["https://github.com/PrestaShop/PrestaShop/commit/35ef7e9d892287c302df1fc5aa05ecfc6f15bc76","https://github.com/PrestaShop/PrestaShop/commit/8684d429fb7c3bb51efb098e8b92a1fd2958f8cf"],"basis":"shared function","functions":["generateHtaccess"]}]},{"from":"CVE-2020-15161","to":"CVE-2022-46158","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["controllers/admin/AdminCustomerThreadsController.php"],"commits":["https://github.com/PrestaShop/PrestaShop/commit/562a231fec18a928e4a601860416fe11af274672","https://github.com/PrestaShop/PrestaShop/commit/8684d429fb7c3bb51efb098e8b92a1fd2958f8cf"],"basis":"shared function","functions":["postProcess"]}]},{"from":"CVE-2020-15162","to":"CVE-2022-46158","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["classes/Tools.php","upload/.htaccess"],"commits":["https://github.com/PrestaShop/PrestaShop/commit/2cfcd33c75974a49f17665f294f228454e14d9cf","https://github.com/PrestaShop/PrestaShop/commit/8684d429fb7c3bb51efb098e8b92a1fd2958f8cf"],"basis":"shared function","functions":["generateHtaccess"]}]}],"packageHistory":[{"cve":"CVE-2021-43789","published":"2021-12-07","fixed":"1.7.8.2","kev":false},{"cve":"CVE-2022-21686","published":"2022-01-26","fixed":"1.7.8.3","kev":false},{"cve":"CVE-2022-31181","published":"2022-08-01","fixed":"1.7.8.7","kev":false,"link":{"from":"CVE-2022-31181","to":"CVE-2022-46158","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:prestashop/prestashop","fromFixed":"1.7.8.7","toFixed":"1.7.8.8","daysApart":129}]}},{"cve":"CVE-2022-46158","published":"2022-12-08","fixed":"1.7.8.8","kev":false},{"cve":"CVE-2023-25170","published":"2023-03-13","fixed":"8.0.1","kev":false},{"cve":"CVE-2023-30545","published":"2023-04-25","fixed":"8.0.4","kev":false,"link":{"from":"CVE-2022-46158","to":"CVE-2023-30545","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:prestashop/prestashop","fromFixed":"1.7.8.8","toFixed":"1.7.8.9","daysApart":138}]}},{"cve":"CVE-2023-30838","published":"2023-04-25","fixed":"8.0.4","kev":false,"link":{"from":"CVE-2022-46158","to":"CVE-2023-30838","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:prestashop/prestashop","fromFixed":"1.7.8.8","toFixed":"1.7.8.9","daysApart":138}]}},{"cve":"CVE-2023-30839","published":"2023-04-25","fixed":"8.0.4","kev":false,"link":{"from":"CVE-2022-46158","to":"CVE-2023-30839","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:prestashop/prestashop","fromFixed":"1.7.8.8","toFixed":"1.7.8.9","daysApart":138}]}}],"package":"Packagist:prestashop/prestashop"}}