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.
Remediation
References
https://github.com/directus/directus/issues/17119
https://github.com/directus/directus/pull/17120
https://github.com/directus/directus/security/advisories/GHSA-4hmq-ggrm-qfc6
Related Vulnerabilities
CVE-2021-43843 Vulnerability in npm package jsx-slack
CVE-2023-26102 Vulnerability in npm package rangy
CVE-2022-24820 Vulnerability in maven package org.xwiki.platform:xwiki-platform-web
CVE-2019-10798 Vulnerability in npm package rdf-graph-array
CVE-2019-10356 Vulnerability in maven package org.jenkins-ci.plugins:script-security