directus vulnerable to HTML Injection in Password Reset email to custom Reset URL
Date: 2023-03
Affected: npm/directus
Attack vector: xss
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2023-27474
CWE: CWE-79
CVSS: 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N)

### Impact 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. ### Patches 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. ### Workarounds Disable the custom reset URL allow list.


Mitigations:

Architectural layers (MAESTRO):