CVE-2025-14142

Electric Enquiries <= 1.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'button' Shortcode Attribute

Published Feb 27, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
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'}

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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:44 PM
Reserved
Dec 5, 2025, 6:09 PM
Status
Deferred
Published
Feb 27, 2026, 10:16 AM
Modified
Jun 17, 2026, 8:35 AM