Cross-site scripting in Directus - #VU141278
Published: August 7, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary script in a victim\'s browser session.
The vulnerability exists due to cross-site scripting in generateFavicon (`app/src/utils/generate-favicon.ts`) when building the fallback favicon from the configured project color. A remote user can store a crafted project color value to execute arbitrary script in a victim\'s browser session.
User interaction is required to load the Directus application URL, and the payload can trigger for visitors including unauthenticated users on the login page.