CVE-2023-27474: HTML Injection in Password Reset email to custom Reset URL in directus
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.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2023-27474?
The severity of CVE-2023-27474 is rated as critical due to its potential for HTML injection leading to phishing attacks.
How do I fix CVE-2023-27474?
To fix CVE-2023-27474, it is recommended to update Directus to the latest version, beyond 9.23.0, which addresses the vulnerability.
What type of attack does CVE-2023-27474 facilitate?
CVE-2023-27474 facilitates an HTML injection attack via query parameters in allow-listed reset URLs.
Which versions of Directus are affected by CVE-2023-27474?
Directus versions prior to 9.23.0 are affected by CVE-2023-27474.
Can attackers exploit CVE-2023-27474 to target users?
Yes, attackers can exploit CVE-2023-27474 to send malicious URLs to users via email.