Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-14142

CVE-2025-14142: WordPress Electric Enquiries XSS Flaw

CVE-2025-14142 is a stored cross-site scripting vulnerability in the Electric Enquiries plugin for WordPress that enables authenticated attackers to inject malicious scripts. This article covers technical details, affected versions, and mitigation.

Published: March 6, 2026

CVE-2025-14142 Overview

The Electric Enquiries plugin for WordPress contains a Stored Cross-Site Scripting (XSS) vulnerability in the button parameter of the electric-enquiry shortcode. All versions up to and including 1.1 are affected due to insufficient input sanitization and output escaping. This vulnerability allows authenticated attackers with Contributor-level access or above to inject arbitrary web scripts into pages. These malicious scripts execute whenever any user accesses the compromised page, potentially leading to session hijacking, credential theft, or further malicious actions.

Critical Impact

Authenticated attackers can persistently inject malicious JavaScript that executes in the browsers of all users viewing affected pages, enabling session hijacking and data theft.

Affected Products

  • Electric Enquiries WordPress Plugin version 1.1 and earlier
  • WordPress installations using the electric-enquiry shortcode functionality
  • Any WordPress site with Contributor-level or higher user accounts using this plugin

Discovery Timeline

  • 2026-02-27 - CVE CVE-2025-14142 published to NVD
  • 2026-02-27 - Last updated in NVD database

Technical Details for CVE-2025-14142

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting. The Electric Enquiries plugin fails to properly sanitize user-supplied input in the button parameter of its shortcode implementation before rendering it in the page output.

When a user with Contributor-level access or higher creates or edits content using the electric-enquiry shortcode, they can inject malicious JavaScript code through the button parameter. Because the plugin does not adequately escape this input before outputting it to the page, the injected script becomes part of the rendered HTML and executes in the browser context of any visitor viewing that page.

The stored nature of this XSS vulnerability makes it particularly dangerous, as the malicious payload persists in the WordPress database and executes repeatedly for every page view without requiring further attacker interaction.

Root Cause

The root cause lies in the plugin's shortcode handling code, specifically at line 76 of electric-enquiries.php. The button parameter value is directly incorporated into the HTML output without proper sanitization using WordPress escaping functions such as esc_attr() or esc_html(). This allows HTML and JavaScript injection when rendering the shortcode output.

Attack Vector

The attack requires network access and authenticated access to the WordPress installation with at least Contributor-level privileges. An attacker can exploit this vulnerability by:

  1. Creating or editing a post/page with the electric-enquiry shortcode
  2. Injecting malicious JavaScript code into the button parameter
  3. Publishing or saving the content for review
  4. Waiting for victims (including administrators) to view the page containing the malicious shortcode

The injected script executes with the privileges of the victim's session, allowing the attacker to steal session cookies, perform actions on behalf of administrators, redirect users to phishing sites, or deface website content.

Detection Methods for CVE-2025-14142

Indicators of Compromise

  • Unexpected JavaScript code or encoded script content within post/page content containing electric-enquiry shortcodes
  • Suspicious <script> tags or event handlers (e.g., onload, onerror, onclick) appearing in the button parameter values
  • Browser console errors or unexpected network requests when viewing pages with Electric Enquiries forms
  • User reports of redirects to external sites or unusual pop-ups when viewing content with the plugin

Detection Strategies

  • Search the WordPress database for electric-enquiry shortcodes containing suspicious patterns like <script>, javascript:, or HTML event handlers
  • Implement Web Application Firewall (WAF) rules to detect XSS payloads in shortcode parameters
  • Monitor plugin activity logs for content modifications by Contributor-level users that include the electric-enquiry shortcode
  • Use security scanning plugins to detect stored XSS patterns in post content

Monitoring Recommendations

  • Enable WordPress audit logging to track all post/page edits, particularly those involving shortcodes
  • Implement Content Security Policy (CSP) headers to mitigate the impact of XSS attacks
  • Regularly scan stored content for XSS indicators using automated security tools
  • Monitor for unusual user behavior patterns, such as Contributors creating multiple posts with shortcodes

How to Mitigate CVE-2025-14142

Immediate Actions Required

  • Review and audit all existing posts/pages containing electric-enquiry shortcodes for malicious content
  • Consider disabling the Electric Enquiries plugin until an official patch is available
  • Restrict Contributor-level access temporarily or limit shortcode usage capabilities
  • Implement a WAF rule to filter XSS payloads targeting this specific parameter

Patch Information

As of the last update on 2026-02-27, review the Wordfence vulnerability report and the WordPress Plugin Repository for the latest version information and any available security updates. Update to the latest version of the Electric Enquiries plugin once a patched version is released.

Workarounds

  • Deactivate the Electric Enquiries plugin if it is not critical to site operations
  • Implement server-side input filtering using .htaccess or web server configuration to block requests containing XSS patterns
  • Use a security plugin with real-time XSS protection capabilities
  • Remove Contributor-level access from untrusted users until the vulnerability is patched
bash
# Configuration example - Add to WordPress wp-config.php to restrict shortcode usage
# This disables shortcodes for non-admin users (use with caution)
# Note: This is a workaround and may affect legitimate functionality

# Add CSP headers via .htaccess to mitigate XSS impact
# Place in WordPress root .htaccess file:
Header set Content-Security-Policy "script-src 'self'; object-src 'none';"

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechWordpress

  • SeverityMEDIUM

  • CVSS Score6.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • WordPress Plugin Code Reference

  • WordPress Plugin Development Code

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2026-2840: Email Encoder WordPress Plugin XSS Vulnerability

  • CVE-2026-3369: WordPress Better Find and Replace XSS Flaw

  • CVE-2026-3995: OPEN-BRAIN WordPress Plugin XSS Vulnerability

  • CVE-2026-3876: Prismatic WordPress Plugin XSS 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