Description
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.
Problem types
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
References
www.kb.cert.org/vuls/id/265691
github.com/Stuub/Appsmith-1.98-Stored-XSS-Exploit
github.com/...psmith/security/advisories/GHSA-vvxf-f8q9-86gh
github.com/appsmithorg/appsmith/pull/41666
github.com/Stuub/Appsmith-1.98-Stored-XSS-Exploit
github.com/appsmithorg/appsmith/releases/tag/v2.1
github.com/...ommit/99d69180919981ed9bc5484050d809a5bec68acc