Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Lifecycle Timeline
4DescriptionCVE.org
The Gallagher Website Design plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's login_link shortcode in all versions up to, and including, 2.6.4 due to insufficient input sanitization and output escaping on the 'prefix' attribute. 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.
AnalysisAI
Stored Cross-Site Scripting (XSS) in the Gallagher Website Design WordPress plugin through version 2.6.4 allows authenticated attackers with Contributor-level access or higher to inject arbitrary JavaScript into pages via the 'prefix' attribute of the login_link shortcode, bypassing input sanitization and output escaping controls. The injected scripts execute in the context of any user viewing the affected page, potentially enabling session hijacking, credential theft, or malicious redirection. Wordfence has documented the vulnerability with proof-of-concept references to the vulnerable code in the WordPress plugin repository.
Technical ContextAI
The Gallagher Website Design WordPress plugin implements a login_link shortcode handler that accepts user-supplied attributes, including a 'prefix' parameter. The vulnerability stems from insufficient input sanitization and output escaping on this attribute before it is rendered in page HTML. Cross-Site Scripting (CWE-79) occurs when untrusted user input is directly embedded into web content without proper HTML entity encoding or context-aware escaping. WordPress provides native escaping functions (such as esc_attr() for HTML attributes and wp_kses_post() for content) that should be applied to all user-controlled shortcode attributes. The affected code at line 203 in gallagher-website-design.php (per WordPress plugin repository references) fails to apply these protections, allowing attackers to inject script tags or event handlers (e.g., <img src=x onerror=alert(1)>) that the browser will execute when rendering the page.
RemediationAI
The primary remediation is to upgrade the Gallagher Website Design plugin to a patched version released after 2.6.4 as soon as it becomes available. Check the WordPress plugin repository and Wordfence's advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/d8d013ae-a512-454a-bcfc-8725a6928fee?source=cve) for the specific patched version number and installation instructions. Pending patch availability, implement the following compensating controls: (1) Restrict Contributor-level access to only trusted users - audit WordPress user roles and demote non-essential Editors and Contributors to Subscribers or Authors (note: this reduces site collaboration but eliminates the attack surface). (2) Deactivate the Gallagher Website Design plugin entirely if it is not actively used, and uninstall if possible. (3) Use a Web Application Firewall (WAF) or WordPress security plugin with XSS detection to monitor and block the injection of script tags in shortcode attributes (trade-off: may block legitimate content or add performance overhead). (4) Implement Content Security Policy (CSP) headers at the web server level to prevent inline script execution (note: requires careful configuration to avoid breaking site functionality and does not prevent stored XSS from rendering, but limits damage). (5) Audit all pages and posts created by Contributors and Editors for injected scripts using the WordPress plugin repository's revision history or security scanning tools (this is a one-time cleanup task). Once a patch is available, update immediately and reverify that no stored payloads remain in the database.
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
EUVD-2026-24717
GHSA-j2r9-9g62-pcp4