{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.1.0"
                  },
                  {
                    "fixed": "1.2.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "c87571f6b7be15d5cd8b26381b6eb31ad03d28e2"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "dd581eb5c88b13bfe6bff7cfbbb7e09ca1104fbb"
            },
            {
              "fixed": "8f4ced96f9c63a09510a5bccb2189a8b92fb29ba"
            },
            {
              "fixed": "c87571f6b7be15d5cd8b26381b6eb31ad03d28e2"
            }
          ],
          "repo": "https://github.com/leenooks/phpldapadmin",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54421.json"
  },
  "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.",
  "id": "CVE-2023-54421",
  "modified": "2026-11-18T16:45:37.413793755Z",
  "published": "2026-11-18T15:35:00.095Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54421.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/leenooks/phpLDAPadmin/commit/c87571f6b7be15d5cd8b26381b6eb31ad03d28e2"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/phpldapadmin-xss.yaml"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-54421"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/phpldapadmin-1.1.0-1.2.5-reflected-xss-via-cmd-php-dn-parameter"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/phpldapadmin-1.1.0-before-1.2.5-reflected-xss-via-cmd-php-dn-parameter"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "phpLDAPadmin 1.1.0 \u003c 1.2.5 Reflected XSS via cmd.php dn Parameter"
}