Description
The Electric Enquiries plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'button' parameter of the electric-enquiry shortcode in all versions up to, and including, 1.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Published: 2026-02-27
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting executing arbitrary web scripts in pages viewed by users
Action: Immediate Patch
AI Analysis

Impact

The Electric Enquiries WordPress plugin allows authenticated users with Contributor level or higher to inject malicious JavaScript through the 'button' attribute of the electric‑enquiry shortcode. The input is stored without proper sanitization or escaping, so the injected script persists in the database and runs whenever a page containing the shortcode is rendered. This flaw enables client‑side compromise such as cookie theft, session hijacking, phishing, or defacement, and it affects the confidentiality, integrity, and availability of the website contents for all users who view the page. The weakness is a classic Stored XSS (CWE‑79).

Affected Systems

All installations of the Electric Enquiries plugin version 1.1 and earlier. The plugin is distributed by Electric code and is a normal WordPress plugin, so any WordPress site that has the plugin activated and includes the electric‑enquiry shortcode is at risk. The vulnerability is limited to sites where users can access the plugin’s shortcode editor or configuration pages. Any WordPress instance using one of these affected plugin versions is impacted.

Risk and Exploitability

The CVSS score of 6.4 indicates a moderate severity. The EPSS score of less than 1% shows a low probability of exploitation. The vulnerability is not currently listed in CISA KEV. An authenticated attacker with Contributor or higher privileges can inject malicious scripts via the button attribute, which are stored and executed when a user visits a page containing the shortcode. The attack vector requires only standard WordPress authentication at Contributor level and does not involve remote code execution on the server.

Generated by OpenCVE AI on April 27, 2026 at 20:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Electric Enquiries plugin to a version newer than 1.1, which removes the vulnerability.
  • If an update is not immediately possible, restrict the Contributor role to prevent editing of the electric‑enquiry shortcode or disable the shortcode entirely for untrusted users.
  • Apply a content security policy (CSP) that blocks execution of inline scripts on the site to mitigate the impact of any remaining stored JavaScript.

Generated by OpenCVE AI on April 27, 2026 at 20:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 27 Feb 2026 16:15:00 +0000

Type Values Removed Values Added
First Time appeared Electriccode
Electriccode electric Enquiries
Wordpress
Wordpress wordpress
Vendors & Products Electriccode
Electriccode electric Enquiries
Wordpress
Wordpress wordpress
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 27 Feb 2026 09:45:00 +0000

Type Values Removed Values Added
Description The Electric Enquiries plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'button' parameter of the electric-enquiry shortcode in all versions up to, and including, 1.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title Electric Enquiries <= 1.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'button' Shortcode Attribute
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Electriccode Electric Enquiries
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:44:42.086Z

Reserved: 2025-12-05T18:09:21.725Z

Link: CVE-2025-14142

cve-icon Vulnrichment

Updated: 2026-02-27T15:55:56.716Z

cve-icon NVD

Status : Deferred

Published: 2026-02-27T10:16:21.670

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-14142

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-27T20:15:12Z

Weaknesses