Appsmith’s SQL query editor’s autocomplete functionality fails to sanitize database object names before rendering them in innerHTML, allowing an authenticated Developer to inject persistent XSS by a malicious table or column names triggering arbitrary code execution in the sessions of other workspace members when they interact with the same datasource.
https://github.com/appsmithorg/appsmith/security/advisories/GHSA-vvxf-f8q9-86gh
https://github.com/appsmithorg/appsmith/releases/tag/v2.1
https://github.com/appsmithorg/appsmith/pull/41666
https://github.com/appsmithorg/appsmith/commit/99d69180919981ed9bc5484050d809a5bec68acc