PrestaShop cross-site scripting via customer contact form in FO, through file upload
Impact
Only PrestaShops with customer-thread feature flag enabled are impacted, starting from PrestaShop 8.1.0.
The 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.
Consequence: 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.
Patches
This vulnerability is patched in 8.1.6.
Workarounds
As long as you have not upgraded to 8.1.6, a simple workaround is to disable the customer-thread feature-flag.
Thank you to Ayoub AIT ELMOKHTAR, who discovered this vulnerability and share it with the PrestaShop team.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Composer-Paket | prestashop/prestashop | >= 8.1.0, < 8.1.6 | 8.1.6 |
| PrestaShop (Kern) | prestashop/prestashop | >= 8.1.0, < 8.1.6 | 8.1.6 |
Verweise
- https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-45vm-3j38-7p78
- https://nvd.nist.gov/vuln/detail/CVE-2024-34716
- https://github.com/PrestaShop/PrestaShop/commit/a248898655e56cbcc6c308a5f1c8752231624bae
- https://github.com/PrestaShop/PrestaShop
- https://github.com/PrestaShop/PrestaShop/releases/tag/8.1.6
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H- Schwäche (CWE)
CWE-79- Plattform
- Composer, PrestaShop
- Paket
prestashop/prestashop- Veröffentlicht
- 14.05.2024
- Aktualisiert
- 11.10.2026 10:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-45vm-3j38-7p78 - CC BY 4.0
Schwachstellenhistorie: prestashop/prestashop
Alle veröffentlichten Schwachstellen dieses Pakets (Composer-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 31
- Erste → letzte
- 12.2021 05.2026
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 5
- Hoch 8
- Mittel 17
- Niedrig 1
Veröffentlichungen pro Jahr
- 2021: 1
- 2022: 10
- 2023: 10
- 2024: 5
- 2025: 1
- 2026: 4
-
PrestaShop cross-site scripting via customer contact form in FO, through file upload dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.