WordPress
CVE-2025-31055
HIGH
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
Lifecycle Timeline
4DescriptionCVE.org
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in vergatheme Electrician - Electrical Service WordPress electrician allows Reflected XSS.This issue affects Electrician - Electrical Service WordPress: from n/a through <= 1.0.
AnalysisAI
Reflected cross-site scripting (XSS) in vergatheme Electrician WordPress theme version 1.0 and earlier allows unauthenticated attackers to inject malicious scripts into web pages viewed by other users through crafted URLs. The vulnerability stems from improper input neutralization during web page generation, enabling stored or reflected payload execution in victim browsers without authentication requirements.
Technical ContextAI
This is a classic reflected XSS vulnerability (CWE-79) in a WordPress theme. The vergatheme Electrician theme fails to properly sanitize or escape user-supplied input when generating HTML output. WordPress themes interact directly with PHP superglobals ($_GET, $_POST, $_REQUEST) and the WordPress templating system; if these inputs are echoed to the page without using proper escaping functions (such as esc_html(), esc_url(), or wp_kses_post()), attackers can inject arbitrary JavaScript. The vulnerability affects the theme itself rather than WordPress core, meaning all installations using this theme version are impacted regardless of WordPress version or plugin configuration.
Affected ProductsAI
vergatheme Electrician - Electrical Service WordPress theme from version n/a through version 1.0. The theme is distributed via WordPress.org plugin/theme repository and third-party theme marketplaces. Affected users have this theme installed on any WordPress site using version 1.0 or earlier.
RemediationAI
Update the vergatheme Electrician theme to a patched version newer than 1.0 if available from the theme author. If no patched version is released, disable and remove the theme from affected WordPress installations, replacing it with an alternative theme. Ensure all user input is properly escaped using WordPress security functions (esc_html(), esc_url(), sanitize_text_field()) before output. Review the theme code at https://patchstack.com/database/Wordpress/Theme/electrician/vulnerability/wordpress-electrician-electrical-service-wordpress-1-0-cross-site-scripting-xss-vulnerability for specific vulnerable parameters and implement input validation on those vectors.
The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Country State City Dropdown CF7 plugin for WordPress is vulnerable to SQL Injection via the ‘cnt’ and 'sid' paramete
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today