{"id":"UBUNTU-CVE-2023-54421","details":"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.","modified":"2026-11-25T21:30:27.167628444Z","published":"2026-11-18T16:17:00Z","upstream":["CVE-2023-54421"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-54421"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-54421"}],"affected":[{"package":{"name":"phpldapadmin","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/phpldapadmin?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2-5.2","1.2.2-5.2ubuntu1","1.2.2-5.2ubuntu2","1.2.2-5.2ubuntu2.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.2-5.2ubuntu2.1","binary_name":"phpldapadmin"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-54421.json"}},{"package":{"name":"phpldapadmin","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/phpldapadmin?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2-6ubuntu1","1.2.2-6ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_name":"phpldapadmin","binary_version":"1.2.2-6ubuntu1.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-54421.json"}},{"package":{"name":"phpldapadmin","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/phpldapadmin?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2-6.1ubuntu1","1.2.2-6.2ubuntu1","1.2.2-6.3"],"ecosystem_specific":{"binaries":[{"binary_name":"phpldapadmin","binary_version":"1.2.2-6.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-54421.json"}},{"package":{"name":"phpldapadmin","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/phpldapadmin?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2-6.3","1.2.6.3-0.2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.6.3-0.2","binary_name":"phpldapadmin"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-54421.json"}},{"package":{"name":"phpldapadmin","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/phpldapadmin?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.6.3-0.3","1.2.6.6-2","1.2.6.7-1"],"ecosystem_specific":{"binaries":[{"binary_name":"phpldapadmin","binary_version":"1.2.6.7-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-54421.json"}},{"package":{"name":"phpldapadmin","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/phpldapadmin?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.6.7-4"],"ecosystem_specific":{"binaries":[{"binary_name":"phpldapadmin","binary_version":"1.2.6.7-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-54421.json"}},{"package":{"name":"phpldapadmin","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/phpldapadmin?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.6.7-4"],"ecosystem_specific":{"binaries":[{"binary_name":"phpldapadmin","binary_version":"1.2.6.7-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-54421.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"CNA"},{"type":"CVSS_V4","score":"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","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}