CVE-2023-4757 Staff / Employee Business Directory for Active Directory < 1.2.3 - Improper escaping of LDAP entries

Medium 5.4 Published Updated

Attackers with LDAP control can inject malicious JavaScript into the directory, potentially compromising high-privilege WordPress administrators.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2023-4757?

CVE-2023-4757 is a medium-severity cross-site scripting vulnerability in Unknown Staff / Employee Business Directory for Active Directory, published on 16 Jan 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

The Staff / Employee Business Directory for Active Directory WordPress plugin before 1.2.3 does not sanitize and escape data returned from the LDAP server before rendering it in the page, allowing users who can control their entries in the LDAP directory to inject malicious javascript which could be used against high-privilege users such as a site admin.

Weakness: CWE-79

Which versions are affected by CVE-2023-4757?

It affects 1 product.

Products include Miniorange Staff \/ Employee Business Directory for Active Directory.

How do I fix CVE-2023-4757?

No fix has been published for CVE-2023-4757 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2023-4757 being exploited?

There is no known exploitation of CVE-2023-4757 in the wild and no public exploit code.

Sources

Also known as GHSA-cj4r-mxq9-xgx5.

Is CVE-2023-4757 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free