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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2025-27355

CVE-2025-27355: WooCommerce Loi Hamon CSRF Vulnerability

CVE-2025-27355 is a Cross-Site Request Forgery flaw in WooCommerce Loi Hamon plugin that enables stored XSS attacks. This article covers the technical details, affected versions up to 1.1.0, and mitigation steps.

Published: April 21, 2026

CVE-2025-27355 Overview

CVE-2025-27355 is a Cross-Site Request Forgery (CSRF) vulnerability in the Woocommerce – Loi Hamon WordPress plugin developed by Nicolas GRILLET. This vulnerability allows attackers to chain CSRF with Stored Cross-Site Scripting (XSS), enabling malicious actors to inject persistent scripts into the affected WordPress installation by exploiting the lack of proper CSRF token validation.

Critical Impact

Attackers can leverage this CSRF vulnerability to inject stored XSS payloads, potentially compromising administrator sessions, defacing websites, or stealing sensitive user data from affected WooCommerce installations.

Affected Products

  • Woocommerce – Loi Hamon plugin versions up to and including 1.1.0
  • WordPress installations running the vulnerable plugin versions
  • WooCommerce-based e-commerce sites using the Loi Hamon compliance plugin

Discovery Timeline

  • 2025-02-24 - CVE-2025-27355 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-27355

Vulnerability Analysis

This vulnerability combines two distinct attack vectors: Cross-Site Request Forgery (CSRF) and Stored Cross-Site Scripting (XSS). The Woocommerce – Loi Hamon plugin, which is designed to help WooCommerce stores comply with French "Loi Hamon" consumer protection regulations, fails to implement proper CSRF protections on its administrative endpoints. This lack of validation allows attackers to craft malicious requests that, when executed by an authenticated administrator, inject persistent XSS payloads into the plugin's stored settings or content areas.

The chained nature of this vulnerability (CSRF-to-Stored-XSS) makes it particularly dangerous. The CSRF component bypasses origin validation, while the Stored XSS component ensures that malicious scripts persist across page loads, affecting all users who view the compromised content.

Root Cause

The root cause of this vulnerability is the absence of CSRF token validation (nonce verification in WordPress terminology) on form submissions or AJAX endpoints within the plugin's administrative interface. WordPress provides built-in functions like wp_nonce_field() and wp_verify_nonce() for CSRF protection, but these were not properly implemented in the affected plugin versions. Additionally, user-supplied input is stored without adequate sanitization or encoding, enabling the Stored XSS component of the attack chain.

Attack Vector

The attack requires social engineering to trick an authenticated WordPress administrator into visiting a malicious webpage or clicking a crafted link. The attacker's page contains a hidden form or JavaScript that automatically submits a request to the vulnerable plugin endpoint. Since the administrator's browser automatically includes authentication cookies, the malicious request is processed as if the administrator intentionally submitted it. The payload containing XSS scripts is then stored in the database and executed whenever users access the affected pages.

The exploitation flow typically involves:

  1. Attacker crafts a malicious HTML page with an auto-submitting form targeting the vulnerable endpoint
  2. Victim administrator is lured to visit the attacker's page while logged into WordPress
  3. The form submits a request containing XSS payload to the plugin's unprotected endpoint
  4. The XSS payload is stored in the WordPress database
  5. The stored script executes whenever users view the affected content

Detection Methods for CVE-2025-27355

Indicators of Compromise

  • Unexpected JavaScript code or <script> tags in plugin settings or database entries related to Loi Hamon functionality
  • Suspicious administrative activity logs showing settings changes without corresponding admin sessions
  • Browser console errors or unexpected script execution on WooCommerce pages
  • Reports of session hijacking or unauthorized administrative access

Detection Strategies

  • Review WordPress database tables associated with the Loi Hamon plugin for embedded script tags or event handlers
  • Monitor HTTP access logs for unusual POST requests to Loi Hamon plugin endpoints from external referrers
  • Implement Content Security Policy (CSP) headers to detect and block unauthorized inline script execution
  • Use WordPress security plugins to scan for stored XSS payloads in the database

Monitoring Recommendations

  • Enable detailed WordPress audit logging for plugin configuration changes
  • Configure Web Application Firewall (WAF) rules to detect CSRF attack patterns and XSS payloads
  • Implement real-time alerting for administrative setting modifications outside of normal maintenance windows

How to Mitigate CVE-2025-27355

Immediate Actions Required

  • Immediately review the Loi Hamon plugin settings for any unauthorized modifications or suspicious content
  • Consider temporarily deactivating the Woocommerce – Loi Hamon plugin until a patched version is available
  • Audit WordPress database entries for stored XSS payloads and sanitize any discovered malicious content
  • Educate administrators about the risks of clicking unknown links while logged into WordPress

Patch Information

As of the data available, versions through 1.1.0 are affected. Administrators should monitor the WordPress plugin repository and the Patchstack Vulnerability Report for updates from the plugin developer. When a patched version becomes available, update immediately through the WordPress admin dashboard.

Workarounds

  • Deactivate the Woocommerce – Loi Hamon plugin until a security patch is released
  • Implement additional security headers including strict Content-Security-Policy to mitigate XSS impact
  • Use WordPress security plugins that add CSRF protection layers to administrative endpoints
  • Restrict administrative access to trusted IP addresses only
bash
# WordPress .htaccess configuration to restrict wp-admin access
# Add to .htaccess in /wp-admin/ directory

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/wp-admin/
RewriteCond %{REMOTE_ADDR} !^192\.168\.1\.100$
RewriteRule ^(.*)$ - [F,L]
</IfModule>

# Add CSP headers in main .htaccess
<IfModule mod_headers.c>
Header set Content-Security-Policy "script-src 'self'; object-src 'none';"
Header set X-Content-Type-Options "nosniff"
Header set X-XSS-Protection "1; mode=block"
</IfModule>

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

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechWoocommerce Loi Hamon

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.05%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-352
  • Technical References
  • Patchstack Vulnerability Report
  • Latest CVEs
  • CVE-2025-52479: HTTP.jl & URIs.jl CRLF Injection Flaw

  • CVE-2026-31740: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31743: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31744: Linux Kernel NULL Pointer Vulnerability
Default Legacy - Prefooter | 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