Flowise: Hardcoded CORS wildcard on TTS endpoint enables cross-origin credential abuse from any webpage
Moderate severity
GitHub Reviewed
Published
May 14, 2026
in
FlowiseAI/Flowise
•
Updated May 20, 2026
Description
Published to the GitHub Advisory Database
May 20, 2026
Reviewed
May 20, 2026
Last updated
May 20, 2026
Summary
The TTS generation endpoint sets
Access-Control-Allow-Origin: *as a hardcoded response header, independent of the server's CORS configuration. This enables any webpage to make cross-origin requests to generate speech using stored credentials.Root Cause
Impact
getCorsOptions()) which is otherwise restrictive by defaultSuggested Fix
Remove the hardcoded CORS wildcard and let the server's CORS middleware handle the headers:
References
packages/server/src/controllers/text-to-speech/index.tsline 83References