The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-34716

CVE-2024-34716: PrestaShop XSS Vulnerability

CVE-2024-34716 is a cross-site scripting vulnerability in PrestaShop affecting versions 8.1.0 to 8.1.5 with customer-thread enabled. Attackers can execute malicious scripts via file uploads. This article covers technical details, affected versions, impact, and mitigation steps.

Published: January 28, 2026

CVE-2024-34716 Overview

CVE-2024-34716 is a Cross-Site Scripting (XSS) vulnerability affecting PrestaShop, a widely-used open source e-commerce web application. The vulnerability is present in PrestaShop installations where the customer-thread feature flag is enabled, impacting versions from 8.1.0 up to but not including 8.1.6.

When the customer thread feature flag is enabled, attackers can exploit the front-office contact form to upload malicious files containing XSS payloads. When an administrator opens the attached file in the back office, the injected script executes within the administrator's browser session, potentially compromising the entire e-commerce platform.

Critical Impact

Successful exploitation allows attackers to access administrator session tokens and security credentials, enabling them to perform any authenticated action within the scope of the administrator's privileges, including data theft, configuration changes, and full platform compromise.

Affected Products

  • PrestaShop versions 8.1.0 through 8.1.5
  • PrestaShop installations with customer-thread feature flag enabled
  • E-commerce platforms running vulnerable PrestaShop versions

Discovery Timeline

  • 2024-05-14 - CVE-2024-34716 published to NVD
  • 2025-01-21 - Last updated in NVD database

Technical Details for CVE-2024-34716

Vulnerability Analysis

This Cross-Site Scripting vulnerability (CWE-79) exploits insufficient input validation in PrestaShop's customer thread file upload functionality. The attack requires user interaction—specifically, an administrator must open the malicious attachment in the back office for the XSS payload to execute.

The vulnerability exists exclusively in the context of the customer-thread feature, which allows customers to communicate with store administrators via file attachments through the front-office contact form. When this feature is enabled, the file handling mechanism fails to properly sanitize uploaded content, allowing malicious scripts to be embedded within files.

Upon execution, the injected script operates within the administrator's authenticated session context. This grants the attacker access to session tokens and security credentials, effectively inheriting the full privilege set of the compromised administrator account.

Root Cause

The root cause stems from improper input validation and output encoding in the file handling component of PrestaShop's customer thread feature. The application fails to adequately sanitize file contents before rendering them in the administrative interface, allowing JavaScript code embedded in uploaded files to execute when viewed by an administrator.

Attack Vector

The attack follows a stored XSS pattern with the following exploitation flow:

  1. Initial Access: Attacker uses the front-office contact form (with customer-thread feature enabled)
  2. Payload Delivery: Attacker uploads a crafted file containing malicious JavaScript
  3. Persistence: The malicious file is stored on the server
  4. Trigger: Administrator opens the attached file in the back office
  5. Execution: XSS payload executes in the administrator's browser context
  6. Exfiltration: Script accesses session tokens and security credentials
  7. Exploitation: Attacker performs authenticated actions using stolen credentials

The vulnerability requires network access and user interaction (administrator opening the file), but requires no authentication for the initial file upload through the customer contact form.

Detection Methods for CVE-2024-34716

Indicators of Compromise

  • Suspicious file uploads through the customer contact form containing embedded JavaScript or HTML content
  • Unusual administrative actions or configuration changes following contact form submissions
  • Administrator session token usage from unexpected IP addresses or locations
  • Anomalous API calls or back office operations correlating with recent file attachment views

Detection Strategies

  • Monitor file uploads through the customer thread feature for potentially malicious content patterns
  • Implement Content Security Policy (CSP) headers to detect and block inline script execution attempts
  • Review back office access logs for unusual activity patterns following file attachment viewing
  • Deploy web application firewalls (WAF) with rules to detect XSS payloads in uploaded files

Monitoring Recommendations

  • Enable detailed logging for all file upload operations and back office file access events
  • Configure alerts for administrative session anomalies such as multiple concurrent sessions or geographic impossibilities
  • Monitor for JavaScript execution attempts from user-uploaded content directories
  • Implement file integrity monitoring on uploaded attachment storage locations

How to Mitigate CVE-2024-34716

Immediate Actions Required

  • Upgrade PrestaShop to version 8.1.6 or later immediately
  • If immediate upgrade is not possible, disable the customer-thread feature flag as a temporary workaround
  • Review recent contact form submissions and uploaded attachments for suspicious content
  • Audit administrator account activity for signs of unauthorized access or configuration changes
  • Consider invalidating and rotating all administrator session tokens

Patch Information

PrestaShop has released version 8.1.6 which addresses this vulnerability. The patch is available through the official PrestaShop 8.1.6 Release. Organizations should upgrade to this version or later to receive the security fix.

For detailed technical information about the vulnerability and the patch, refer to the GitHub Security Advisory GHSA-45vm-3j38-7p78.

Workarounds

  • Disable the customer-thread feature flag through PrestaShop's configuration settings until the upgrade can be completed
  • Implement strict Content Security Policy (CSP) headers to mitigate XSS impact
  • Deploy web application firewall rules to filter potentially malicious file uploads
  • Restrict administrator access to uploaded attachments to isolated or sandboxed browser environments
  • Consider implementing additional file type validation and content scanning for uploads
bash
# Disable customer-thread feature flag in PrestaShop configuration
# Access PrestaShop Admin Panel > Advanced Parameters > Feature Flags
# Set customer-thread feature to "Disabled"

# Alternative: Modify configuration via database
# UPDATE ps_configuration SET value = '0' WHERE name = 'PS_CUSTOMER_THREAD_FEATURE';

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechPrestashop

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability36.66%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Release Notes 8.1.6
  • Vendor Resources
  • GitHub Security Advisory GHSA-45vm-3j38-7p78
  • Related CVEs
  • CVE-2026-33673: PrestaShop Stored XSS Vulnerability

  • CVE-2026-33674: PrestaShop Validation Framework Flaw

  • CVE-2025-69633: PrestaShop Advanced Popup SQL Injection

  • CVE-2026-25597: PrestaShop Auth Bypass Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English