CVE-2023-27474
JavaScript vulnerability analysis and mitigation

Overview

Directus, a real-time API and App dashboard for managing SQL database content, was found to be vulnerable to an HTML injection attack (CVE-2023-27474) in versions prior to 9.23.0. The vulnerability affects instances that rely on an allow-listed reset URL, where attackers could exploit query parameters in the reset URL to inject malicious code (GitHub Advisory).

Technical details

The vulnerability stems from improper handling of URL-encoded query parameters in the reset URL functionality. When processing password reset requests, the system incorrectly handles URL encoding, leading to potential HTML injection through query parameters. The issue was specifically identified in the URL handling code that failed to properly encode query parameter components according to RFC specifications (GitHub Issue).

Impact

An attacker could exploit this vulnerability to email users URLs to the server's domain containing malicious code. This could potentially lead to phishing attacks or other malicious activities when users interact with the compromised reset URLs (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 9.23.0. Users are advised to upgrade to this version or later. For those unable to upgrade immediately, a workaround is available by disabling the custom reset URL allow list functionality (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67731HIGH8.7
  • JavaScriptJavaScript
  • servify-express
NoYesDec 12, 2025
CVE-2025-67718HIGH8.7
  • JavaScriptJavaScript
  • formio
NoYesDec 11, 2025
CVE-2025-8083HIGH8.6
  • JavaScriptJavaScript
  • vuetify
NoYesDec 12, 2025
CVE-2025-67750HIGH8.4
  • JavaScriptJavaScript
  • lightning-flow-scanner
NoYesDec 12, 2025
CVE-2025-8082MEDIUM6.3
  • JavaScriptJavaScript
  • vuetify
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management