GHSA-3534-xp88-25rc
Parse Dashboard is Missing CSRF Protection for its Agent Endpoint
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | parse-dashboard | >= 7.3.0-alpha.42, < 9.0.0-alpha.8 | 9.0.0-alpha.8 |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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.
### Resources
- GitHub advisory: https://github.com/parse-community/parse-dashboard/security/advisories/GHSA-3534-xp88-25rc
- Fixed in: https://github.com/parse-community/parse-dashboard/releases/tag/9.0.0-alpha.8
References
External links from the advisory. They lead to third-party sites.