CVE-2023-27474

HTML Injection in Password Reset email to custom Reset URL in directus

Description

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.

Category

8.0
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.56%
Vendor Advisory github.com
Affected: directus directus
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-27474?
CVE-2023-27474 has been scored as a high severity vulnerability.
How to fix CVE-2023-27474?
To fix CVE-2023-27474, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-27474 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-27474 is being actively exploited. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-27474?
CVE-2023-27474 affects directus directus.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.