{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/19141?format=json","vulnerability_id":"VCID-ws23-cmum-kyh6","summary":"PrestaShop cross-site scripting via customer contact form in FO, through file upload\n### Impact\nOnly PrestaShops with customer-thread feature flag enabled are impacted, starting from PrestaShop 8.1.0.\n\nThe impact is substantial, when the customer thread feature flag is enabled, through the front-office contact form, a hacker can upload a malicious file containing an XSS that will be executed when an admin opens the attached file in back office.\n\nConsequence: the script injected can access the session and the security token, which allows it to perform any authenticated action in the scope of the administrator's right.\n\n### Patches\nThis vulnerability is patched in 8.1.6.\n\n### Workarounds\nAs long as you have not upgraded to 8.1.6, a simple workaround is to disable the customer-thread feature-flag.\n\nThank you to Ayoub AIT ELMOKHTAR, who discovered this vulnerability and share it with the PrestaShop team.","aliases":[{"alias":"CVE-2024-34716"},{"alias":"GHSA-45vm-3j38-7p78"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/60153?format=json","purl":"pkg:composer/prestashop/prestashop@8.1.6","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1trs-ajxn-jkhk"},{"vulnerability":"VCID-cf1h-m5xj-mfc5"},{"vulnerability":"VCID-s53g-k7gw-yyd4"},{"vulnerability":"VCID-vsng-njkm-hydv"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/prestashop/prestashop@8.1.6"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/59377?format=json","purl":"pkg:composer/prestashop/prestashop@8.1.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1trs-ajxn-jkhk"},{"vulnerability":"VCID-22v3-9qr1-pyfg"},{"vulnerability":"VCID-5s8z-4eqn-p7h7"},{"vulnerability":"VCID-7wj5-37ma-hbhg"},{"vulnerability":"VCID-8beq-8rca-mbhd"},{"vulnerability":"VCID-c4g5-t8vx-syax"},{"vulnerability":"VCID-cf1h-m5xj-mfc5"},{"vulnerability":"VCID-ey36-u4qn-gbge"},{"vulnerability":"VCID-f4m9-pgg8-nqa3"},{"vulnerability":"VCID-f7s4-16b7-zkcm"},{"vulnerability":"VCID-fkcb-5u24-wqbg"},{"vulnerability":"VCID-keyj-v83x-nkck"},{"vulnerability":"VCID-kwe1-5ukw-cbau"},{"vulnerability":"VCID-mb3x-p2d7-gqdx"},{"vulnerability":"VCID-s53g-k7gw-yyd4"},{"vulnerability":"VCID-vsng-njkm-hydv"},{"vulnerability":"VCID-ws23-cmum-kyh6"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/prestashop/prestashop@8.1.0"},{"url":"http://public2.vulnerablecode.io/api/packages/59378?format=json","purl":"pkg:composer/prestashop/prestashop@8.1.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1trs-ajxn-jkhk"},{"vulnerability":"VCID-5s8z-4eqn-p7h7"},{"vulnerability":"VCID-cf1h-m5xj-mfc5"},{"vulnerability":"VCID-ey36-u4qn-gbge"},{"vulnerability":"VCID-f4m9-pgg8-nqa3"},{"vulnerability":"VCID-fkcb-5u24-wqbg"},{"vulnerability":"VCID-keyj-v83x-nkck"},{"vulnerability":"VCID-s53g-k7gw-yyd4"},{"vulnerability":"VCID-vsng-njkm-hydv"},{"vulnerability":"VCID-ws23-cmum-kyh6"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/prestashop/prestashop@8.1.1"},{"url":"http://public2.vulnerablecode.io/api/packages/60239?format=json","purl":"pkg:composer/prestashop/prestashop@8.1.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1trs-ajxn-jkhk"},{"vulnerability":"VCID-5s8z-4eqn-p7h7"},{"vulnerability":"VCID-cf1h-m5xj-mfc5"},{"vulnerability":"VCID-f4m9-pgg8-nqa3"},{"vulnerability":"VCID-fkcb-5u24-wqbg"},{"vulnerability":"VCID-s53g-k7gw-yyd4"},{"vulnerability":"VCID-vsng-njkm-hydv"},{"vulnerability":"VCID-ws23-cmum-kyh6"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/prestashop/prestashop@8.1.2"},{"url":"http://public2.vulnerablecode.io/api/packages/50103?format=json","purl":"pkg:composer/prestashop/prestashop@8.1.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1trs-ajxn-jkhk"},{"vulnerability":"VCID-5s8z-4eqn-p7h7"},{"vulnerability":"VCID-cf1h-m5xj-mfc5"},{"vulnerability":"VCID-s53g-k7gw-yyd4"},{"vulnerability":"VCID-vsng-njkm-hydv"},{"vulnerability":"VCID-ws23-cmum-kyh6"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/prestashop/prestashop@8.1.3"},{"url":"http://public2.vulnerablecode.io/api/packages/54391?format=json","purl":"pkg:composer/prestashop/prestashop@8.1.4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1trs-ajxn-jkhk"},{"vulnerability":"VCID-cf1h-m5xj-mfc5"},{"vulnerability":"VCID-s53g-k7gw-yyd4"},{"vulnerability":"VCID-vsng-njkm-hydv"},{"vulnerability":"VCID-ws23-cmum-kyh6"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/prestashop/prestashop@8.1.4"},{"url":"http://public2.vulnerablecode.io/api/packages/60816?format=json","purl":"pkg:composer/prestashop/prestashop@8.1.5","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1trs-ajxn-jkhk"},{"vulnerability":"VCID-cf1h-m5xj-mfc5"},{"vulnerability":"VCID-s53g-k7gw-yyd4"},{"vulnerability":"VCID-vsng-njkm-hydv"},{"vulnerability":"VCID-wruz-92je-97ej"},{"vulnerability":"VCID-ws23-cmum-kyh6"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/prestashop/prestashop@8.1.5"}],"references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2024-34716","reference_id":"","reference_type":"","scores":[{"value":"0.36665","scoring_system":"epss","scoring_elements":"0.97186","published_at":"2026-05-15T12:55:00Z"},{"value":"0.36665","scoring_system":"epss","scoring_elements":"0.9713","published_at":"2026-04-08T12:55:00Z"},{"value":"0.36665","scoring_system":"epss","scoring_elements":"0.97131","published_at":"2026-04-09T12:55:00Z"},{"value":"0.36665","scoring_system":"epss","scoring_elements":"0.97135","published_at":"2026-04-11T12:55:00Z"},{"value":"0.36665","scoring_system":"epss","scoring_elements":"0.97136","published_at":"2026-04-12T12:55:00Z"},{"value":"0.36665","scoring_system":"epss","scoring_elements":"0.97137","published_at":"2026-04-13T12:55:00Z"},{"value":"0.36665","scoring_system":"epss","scoring_elements":"0.97145","published_at":"2026-04-16T12:55:00Z"},{"value":"0.36665","scoring_system":"epss","scoring_elements":"0.97147","published_at":"2026-04-18T12:55:00Z"},{"value":"0.36665","scoring_system":"epss","scoring_elements":"0.97151","published_at":"2026-04-21T12:55:00Z"},{"value":"0.36665","scoring_system":"epss","scoring_elements":"0.97152","published_at":"2026-04-24T12:55:00Z"},{"value":"0.36665","scoring_system":"epss","scoring_elements":"0.97154","published_at":"2026-04-26T12:55:00Z"},{"value":"0.36665","scoring_system":"epss","scoring_elements":"0.97156","published_at":"2026-04-29T12:55:00Z"},{"value":"0.36665","scoring_system":"epss","scoring_elements":"0.97159","published_at":"2026-05-05T12:55:00Z"},{"value":"0.36665","scoring_system":"epss","scoring_elements":"0.97163","published_at":"2026-05-07T12:55:00Z"},{"value":"0.36665","scoring_system":"epss","scoring_elements":"0.97168","published_at":"2026-05-09T12:55:00Z"},{"value":"0.36665","scoring_system":"epss","scoring_elements":"0.97174","published_at":"2026-05-11T12:55:00Z"},{"value":"0.36665","scoring_system":"epss","scoring_elements":"0.97178","published_at":"2026-05-12T12:55:00Z"},{"value":"0.36665","scoring_system":"epss","scoring_elements":"0.97114","published_at":"2026-04-02T12:55:00Z"},{"value":"0.36665","scoring_system":"epss","scoring_elements":"0.9712","published_at":"2026-04-04T12:55:00Z"},{"value":"0.36665","scoring_system":"epss","scoring_elements":"0.97121","published_at":"2026-04-07T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2024-34716"},{"reference_url":"https://github.com/PrestaShop/PrestaShop","reference_id":"","reference_type":"","scores":[{"value":"9.6","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/PrestaShop/PrestaShop"},{"reference_url":"https://github.com/PrestaShop/PrestaShop/commit/a248898655e56cbcc6c308a5f1c8752231624bae","reference_id":"","reference_type":"","scores":[{"value":"9.6","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/PrestaShop/PrestaShop/commit/a248898655e56cbcc6c308a5f1c8752231624bae"},{"reference_url":"https://github.com/PrestaShop/PrestaShop/releases/tag/8.1.6","reference_id":"","reference_type":"","scores":[{"value":"9.6","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"},{"value":"9.7","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2024-06-11T20:41:38Z/"}],"url":"https://github.com/PrestaShop/PrestaShop/releases/tag/8.1.6"},{"reference_url":"https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-45vm-3j38-7p78","reference_id":"","reference_type":"","scores":[{"value":"9.6","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"},{"value":"9.7","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"},{"value":"CRITICAL","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2024-06-11T20:41:38Z/"}],"url":"https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-45vm-3j38-7p78"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34716","reference_id":"","reference_type":"","scores":[{"value":"9.6","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34716"},{"reference_url":"https://github.com/advisories/GHSA-45vm-3j38-7p78","reference_id":"GHSA-45vm-3j38-7p78","reference_type":"","scores":[{"value":"CRITICAL","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-45vm-3j38-7p78"}],"weaknesses":[{"cwe_id":79,"name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."}],"exploits":[],"severity_range_score":"9.0 - 10.0","exploitability":"0.5","weighted_severity":"9.0","risk_score":4.5,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-ws23-cmum-kyh6"}