Read the docs
TI-2023-12202 Aliases CVE-2023-27474GHSA-4hmq-ggrm-qfc6

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

Priority LOW 37CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
High
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00531 45th percentileScored 2026-11-07
Fix Fixed directus (directus): 9.23.0directus (npm): 9.23.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
directusdirectusbefore 9.23.09.23.0Patch availableCNA
—directus (npm)before 9.23.09.23.0Patch availableGHSA-4hmq-ggrm-qfc6
  • directus Vendordirectus Affected before 9.23.0 Fixed in 9.23.0 Patch available CNA
  • directus (npm) Vendor— Affected before 9.23.0 Fixed in 9.23.0 Patch available GHSA-4hmq-ggrm-qfc6

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:rangerstudio:directus:*:*:*:*:*:*:*:*before 9.23.0VulnerableRangerstudio
  • cpe:2.3:a:rangerstudio:directus:*:*:*:*:*:*:*:* Versions before 9.23.0 Vulnerable ·Rangerstudio

Remediation

  • Fix · CNA directus (directus) Fixed in 9.23.0
  • Fix · GHSA-4hmq-ggrm-qfc6 directus (npm) Fixed in 9.23.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-27474
  2. 2026-10-03 Alias added: GHSA-4hmq-ggrm-qfc6

References

  • TI-2025-21659 Directus's webhook trigger flows can leak sensitive data CVSS 3.1HIGH 8.6
  • TI-2024-36266 Directus allows unauthenticated access to WebSocket events and operations CVSS 3.1HIGH 7.5
  • TI-2024-26791 Directus allows SSO User Enumeration CVSS 3.1HIGH 7.5
  • TI-2024-23956 Directus is soft-locked by providing a string value to random string util CVSS 3.1HIGH 7.5
  • TI-2024-26624 Directus Incorrectly handles _in` filter CVSS 3.1HIGH 7.7
  • TI-2025-21658 Directus `search` query parameter allows enumeration of non permitted fields CVSS 3.1MEDIUM 5.3
See all 61 →

Sources