CVE-2023-27474
MEDIUM 5.4CVSS 3.1directus vulnerable to HTML Injection in Password Reset email to custom Reset URL
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.
- Published
- 6 Mar 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-4hmq-ggrm-qfc6
- Sources
- NVDJSONOSV GHSA-4hmq-ggrm-qfc6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rangerstudio | directuscpe:2.3:a:rangerstudio:directus:*:*:*:*:*:*:*:* |
< 9.23.0 | 9.23.0 |
| OSV | npm | directus | < 9.23.0 | 9.23.0 |
References
- https://github.com/directus/directus/issues/17119 · Issue Tracking, Mailing List, Third Party Advisory, WEB
- https://github.com/directus/directus/pull/17120 · Patch, WEB
- https://github.com/directus/directus/security/advisories/GHSA-4hmq-ggrm-qfc6 · Issue Tracking, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-27474 · ADVISORY
- https://github.com/directus/directus · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 6 Mar 2023)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 7 Mar 2023)