CVE-2025-5531

Staff Directory – Employee Directory for WordPress <= 4.5.0 - Authenticated (Contributor+) Stored Cross-Site Scripting

Published Jun 4, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The Employee Directory – Staff Listing & Team Directory Plugin for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'emd_mb_meta' shortcode in all versions up to, and including, 4.5.0 due to insufficient input sanitization and output escaping on user supplied attributes. 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 Employee Directory – Staff & Team Directory WordPress plugin contains a stored XSS flaw in the 'emd_mb_meta' shortcode caused by insufficient input sanitization and output escaping. Authenticated users with contributor access or higher can inject arbitrary scripts that will run whenever any user views a page containing the shortcode. This enables attackers to steal credentials, deface content, or perform other malicious actions in the context of legitimate users.

Affected Systems

Vendor emarket‑design releases the Employee Directory – Staff & Team Directory plugin for WordPress. All versions up to and including 4.5.0 are vulnerable; newer releases are not affected according to the available data.

Risk and Exploitability

The CVSS score of 6.4 indicates a moderate severity. An EPSS score of less than 1% suggests a low likelihood of exploitation, though the vulnerability is listed in a public advisory and not flagged in KEV. The flaw requires authenticated contributor‑level or higher access; once the attacker injects content, any user who visits the affected page will have the malicious script executed. The risk remains moderate to high in environments where contributor roles are widely available and content with the shortcode is common.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Employee Directory – Staff & Team Directory plugin to the latest version that includes an XSS fix
  • If an immediate upgrade is not possible, remove or disable the 'emd_mb_meta' shortcode from affected pages or disable the entire plugin until a fix is available
  • Implement or configure a web application firewall or security plugin to sanitize output and block the execution of injected scripts

Generated by OpenCVE AI on April 22, 2026 at 14:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-16821 The Employee Directory – Staff Listing & Team Directory Plugin for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'emd_mb_meta' shortcode in all versions up to, and including, 4.5.0 due to insufficient input sanitization and output escaping on user supplied attributes. 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.
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The Employee Directory – Staff Listing & Team Directory Plugin for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'emd_mb_meta' shortcode in all versions up to, and including, 4.5.0 due to insufficient input sanitization and output escaping on user supplied attributes. 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 Staff Directory – Employee Directory for WordPress <= 4.5.0 - Authenticated (Contributor+) Stored Cross-Site Scripting
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'}

Subscriptions

No data.

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:36 PM
Reserved
Jun 3, 2025, 2:54 PM
Status
Deferred
Published
Jun 4, 2025, 4:15 AM
Modified
Jun 17, 2026, 9:48 AM