CVE-2023-27474 Details
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.
A vulnerability allowing HTML injection has been identified in Directus versions through 9.22.4. This issue arises in instances that use a custom password reset URL and have not properly encoded query parameters. An attacker could exploit this vulnerability to inject malicious code into emails sent to users, disguised as a legitimate password reset link.
Users should upgrade to Directus version 9.23.0 or later. Those unable to upgrade can disable the custom reset URL allow list as a temporary workaround.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/directus/directus/issues/17119 | CVE | Issue TrackingMailing ListThird Party Advisory |
| https://github.com/directus/directus/pull/17120 | CVE | Patch |
| https://github.com/directus/directus/security/advisories/GHSA-4hmq-ggrm-qfc6 | CVE | Issue TrackingVendor Advisory |
| https://github.com/directus/directus/issues/17119 | [email protected] | Issue TrackingMailing ListThird Party Advisory |
| https://github.com/directus/directus/pull/17120 | [email protected] | Patch |
| https://github.com/directus/directus/security/advisories/GHSA-4hmq-ggrm-qfc6 | [email protected] | Issue TrackingVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| rangerstudio directus | < 9.23.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Mar 13, 2023 | Initial Analysis | [email protected] |