XSS in Directus

CVE-2023-27474

Directus is a real-time API and App dashboard for managing SQL database content. Instances relying on an allow-listed reset URL are 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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.005 (41.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.0 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-27474?
CVE-2023-27474 is a high-severity vulnerability in Directus, classified under Cross-site Scripting. CVSS score: 8.0/10. Published 2023-03-06.
How severe is CVE-2023-27474?
High severity. CVSS v3 base score is 8.0 out of 10.