Impact
The AI Agent API endpoint (POST /apps/:appId/agent) lacks CSRF protection. An attacker can craft a malicious page that, when visited by an authenticated dashboard user, submits requests to the agent endpoint using the victim's session.
Patches
The fix adds CSRF middleware to the agent endpoint and embeds a CSRF token in the dashboard page.
Workarounds
Remove the agent configuration block from your dashboard configuration. Dashboards without an agent config are not affected.
References
Impact
The AI Agent API endpoint (
POST /apps/:appId/agent) lacks CSRF protection. An attacker can craft a malicious page that, when visited by an authenticated dashboard user, submits requests to the agent endpoint using the victim's session.Patches
The fix adds CSRF middleware to the agent endpoint and embeds a CSRF token in the dashboard page.
Workarounds
Remove the
agentconfiguration block from your dashboard configuration. Dashboards without anagentconfig are not affected.References