CVE-2024-52947
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
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
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, provided the "Upgrade session" plugin is enabled.
Vulnerability
Details
The vulnerability is a reflected XSS in LemonLDAP::NG, an open-source WebSSO system. The issue resides in the upgrade session confirmation page (upgradeSession / forceUpgrade). When the "Upgrade session" plugin is enabled by an administrator, the url parameter is not properly sanitized, allowing an attacker to inject arbitrary HTML or JavaScript. This is described in the official advisory [1].
Exploitation
An attacker can craft a malicious link containing the XSS payload in the url parameter. The victim must be logged into LemonLDAP::NG and visit the crafted link. No additional authentication is needed beyond the user's session. The attack is successful only if the administrator has enabled the "Upgrade session" plugin. The attacker can then execute arbitrary scripts in the context of the victim's session.
Impact
Successful exploitation leads to cross-site scripting, which can be used to steal session cookies, perform actions on behalf of the user, or deface the application. The severity is rated Medium (CVSS 5.4) due to the requirement of the plugin being enabled and user interaction.
Mitigation
LemonLDAP::NG version 2.20.1 fixes this vulnerability. Users are advised to upgrade. There is no known workaround besides disabling the "Upgrade session" plugin, if feasible, or applying input validation manually.
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1- Range: <2.20.1
Patches
1fe2718cc2dd8Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
2News mentions
0No linked articles in our index yet.