CVE-2026-1279
Stored XSS in WordPress Employee Directory Plugin Allows Script Injection
Publication date: 2026-02-06
Last updated on: 2026-02-06
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| miniorange | employee_directory | to 1.2.1 (inc) |
| miniorange | employee_directory | 1.2.2 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
The Employee Directory plugin for WordPress is vulnerable to Stored Cross-Site Scripting (XSS) via the 'form_title' parameter in the search_employee_directory shortcode in all versions up to and including 1.2.1.
This vulnerability occurs because the plugin does not properly sanitize or escape input provided to the 'form_title' parameter, allowing authenticated users with Contributor-level access or higher to inject arbitrary web scripts.
These injected scripts are stored and executed whenever any user accesses the page containing the injected content, potentially compromising user sessions or site integrity.
How can this vulnerability impact me? :
This vulnerability can allow an attacker with Contributor-level access or higher to inject malicious scripts into pages viewed by other users.
When other users visit the affected pages, the malicious scripts execute in their browsers, which can lead to theft of user credentials, session hijacking, defacement, or other malicious actions.
Because the vulnerability is stored XSS, the malicious code persists on the site until it is removed or the plugin is updated.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
The vulnerability involves Stored Cross-Site Scripting (XSS) via the 'form_title' parameter in the search_employee_directory shortcode of the Employee Directory WordPress plugin. Detection would involve identifying if your WordPress site uses this plugin version 1.2.1 or earlier and if the shortcode is used with untrusted input in the 'form_title' parameter.
Since the vulnerability requires authenticated users with Contributor-level access or higher to inject scripts, detection can include reviewing pages where the shortcode is used and checking for suspicious script injections in the form title.
There are no specific commands provided in the resources to detect this vulnerability on your network or system.
What immediate steps should I take to mitigate this vulnerability?
[{'type': 'paragraph', 'content': 'The primary mitigation step is to update the Employee Directory plugin to version 1.2.2 or later, as this version includes a fix for the vulnerability.'}, {'type': 'paragraph', 'content': 'Until the update can be applied, restrict Contributor-level and higher user access to trusted users only, as the vulnerability requires authenticated users with such privileges to exploit.'}, {'type': 'paragraph', 'content': "Review and sanitize any usage of the 'form_title' parameter in shortcodes to ensure no malicious scripts are injected."}] [4]