# CVE-2023-54421: phpLDAPadmin 1.1.0 < 1.2.5 Reflected XSS via cmd.php dn Parameter

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-18T15:35:00.095Z
- Modified: 2026-11-24T20:38:28.417Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- phpLDAPadmin phpLDAPadmin: from 1.1.0 before 1.2.5

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `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`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/phpldapadmin-xss.yaml> (exploit, technical-description)
- <https://github.com/leenooks/phpLDAPadmin/commit/c87571f6b7be15d5cd8b26381b6eb31ad03d28e2> (patch)
- <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)

## Sources

- CVE List: [CVE-2023-54421](https://www.cve.org/CVERecord?id=CVE-2023-54421), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2023-54421](https://nvd.nist.gov/vuln/detail/CVE-2023-54421), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2023-54421 · Whole record: https://cve.day/CVE-2023-54421.json · Rebuilt by cve.day 2026-11-25T22:58:35.887Z
