Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. directus
  4. ›
  5. CVE-2023-27474

CVE-2023-27474: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

March 7, 2023

Directus is a real-time API and App dashboard for managing SQL database content. Instances relying on an allow-listed reset URL is vulnerable to an HTML injection attack through the use of query parameters in the reset URL. An attacker could exploit this to email users urls to the servers domain but which may contain malicious code. The problem has been resolved and released under version 9.23.0. People relying on a custom password reset URL should upgrade to 9.23.0 or later, or remove the custom reset url from the configured allow list. Users are advised to upgrade. Users unable to upgrade may disable the custom reset URL allow list as a workaround.

References

  • github.com/advisories/GHSA-4hmq-ggrm-qfc6
  • github.com/directus/directus/issues/17119
  • github.com/directus/directus/pull/17120
  • github.com/directus/directus/security/advisories/GHSA-4hmq-ggrm-qfc6
  • nvd.nist.gov/vuln/detail/CVE-2023-27474

Code Behaviors & Features

Detect and mitigate CVE-2023-27474 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 9.23.0

Fixed versions

  • 9.23.0

Solution

Upgrade to version 9.23.0 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/directus/CVE-2023-27474.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:04 +0000.