Description
In Agora Foundation Agora fall23-Alpha1 before 690ce56, there is XSS via a profile picture to server/controller/userController.js. Formats other than PNG, JPEG, and WEBP are permitted by server/routes/userRoutes.js; this includes SVG.
Problem types
CWE-434 Unrestricted Upload of File with Dangerous Type
Product status
Any version before 690ce56f254af01375b6033e53a80f14d7cc002e
References
github.com/agorafoundation/agora/pull/556
github.com/...ommit/690ce56f254af01375b6033e53a80f14d7cc002e
github.com/...b61a4c4759/server/controller/userController.js
github.com/...ulnerability-research/tree/main/CVE-2025-55135