Staff / Employee Business Directory for Active Directory <= 1.2.1 - Insufficient Escaping of Stored LDAP Values

Improper Encoding or Escaping of Output
CVE CVE-2023-4757
CVSS 5.4 (Medium)
Publicly Published September 8, 2023
Last Updated September 8, 2023
Researcher Pedro José Navas Pérez - Hipasec


The Staff / Employee Business Directory for Active Directory plugin for WordPress is vulnerable to improper LDAP value escaping in versions up to, and including, 1.2.1. This is due to insufficient escaping on the supplied $user_field_data value. This makes it possible for authenticated attackers with access to edit their LDAP entries to inject malicious JavaScript that will access when a user accesses a page containing the data.



Vulnerability Details for Staff / Employee Business Directory for Active Directory

Software Type Plugin
Software Slug ldap-ad-staff-employee-directory-search (view on
Patched? Yes
Remediation Update to version 1.2.3, or a newer patched version
Affected Version
  • <= 1.2.2
Patched Version
  • 1.2.3

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.