Stored cross-site scripting in LemonLDAP::NG - CVE-2025-31510
Published: April 29, 2025
Vulnerability details
The disclosed vulnerability allows a remote user to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data in the "Choice" authentication module. A remote user can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
Affected software
Debian Linux
Fedora
lemonldap-ng (Debian package)
lemonldap-ng
How to mitigate CVE-2025-31510
lemonldap-ng (Debian package) - update to 2.16.1+ds-deb12u6
lemonldap-ng - addressed in versions 2.21.0-1.el8, 2.21.0-1.el9, 2.21.0-1.fc40, 2.21.0-1.fc41, 2.21.0-1.fc42