HIGH 7.5 npm

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

GHSA-4hmq-ggrm-qfc6 · CVE-2023-27474

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes