CVE-2024-52947 Cross-site scripting in n/a
Remote attackers can inject arbitrary web script via the url parameter in LemonLDAP::NG if the Upgrade session plugin is enabled.
- 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
- Available
What is CVE-2024-52947?
CVE-2024-52947 is a medium-severity cross-site scripting vulnerability in n/a, published on 18 Nov 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
A cross-site scripting (XSS) vulnerability in LemonLDAP::NG before 2.20.1 allows remote attackers to inject arbitrary web script or HTML via the url parameter of the upgrade session confirmation page (upgradeSession / forceUpgrade) if the "Upgrade session" plugin has been enabled by an admin
Weakness: CWE-79
Which versions are affected by CVE-2024-52947?
How do I fix CVE-2024-52947?
Upgrade to a fixed version.
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-2024-52947 being exploited?
There is no known exploitation of CVE-2024-52947 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2024-52947, GHSA-425w-xhjg-hfcm, UBUNTU-CVE-2024-52947.