CVE-2023-54421
phpLDAPadmin 1.1.0 < 1.2.5 Reflected XSS via cmd.php dn Parameter
Medium · 5.1Fix available
- CVSS
- 5.1
- EPSS
- 0.32% (p27)
- Published
- 2026-11-18
- Age
- 18d old
- Modified
- 2026-11-25
- Product
- phpLDAPadmin phpLDAPadmin
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Description
phpLDAPadmin 1.1.0 before 1.2.5 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject scripts through the dn parameter of cmd.php?cmd=template_engine. Attackers can supply an unparseable dn value that pretty_print_dn returns unescaped in the 'No such entry' error, executing JavaScript in victims' browsers. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-23.
Fixed in
1.2.5
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | phpLDAPadmin | >=1.1.0, <1.2.5 | 1.2.5 |
Sources
- NVD · first seen 18d ago · NVD terms of use
- OSV · first seen 18d ago · CC-BY 4.0
- CVE List · first seen 18d ago · CVE Terms of Use
References
- https://github.com/leenooks/phpLDAPadmin/commit/c87571f6b7be15d5cd8b26381b6eb31ad03d28e2 patch
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/phpldapadmin-xss.yaml technical-description
- https://www.vulncheck.com/advisories/phpldapadmin-1.1.0-before-1.2.5-reflected-xss-via-cmd-php-dn-parameter third-party-advisory
- https://www.vulncheck.com/advisories/phpldapadmin-1.1.0-1.2.5-reflected-xss-via-cmd-php-dn-parameter third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54421.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2023-54421 advisory