CVE-2022-2925 Cross-site Scripting (XSS) - Stored in appwrite/appwrite
Stored Cross-Site Scripting in Appwrite allows attackers to inject malicious scripts, potentially leading to session hijacking or code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-2925?
CVE-2022-2925 is a critical cross-site scripting vulnerability in appwrite/appwrite, published on 9 Sep 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Cross-site Scripting (XSS) - Stored in GitHub repository appwrite/appwrite prior to 1.0.0-RC1.
Weakness: CWE-79
Which versions are affected by CVE-2022-2925?
2 open source packages ship an affected version, including appwrite/server-ce. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
appwrite/server-ce Packagist | All versions | 1.0.0-RC1 |
appwrite/server-ce Packagist | All versions | 1.0.0-RC1 |
Products include Appwrite Appwrite.
How do I fix CVE-2022-2925?
Upgrade appwrite/server-ce to 1.0.0-RC1 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-2925 being exploited?
There is no known exploitation of CVE-2022-2925 in the wild and no public exploit code.
Other vulnerabilities in appwrite/appwrite
Sources
Also known as GHSA-5ffj-mph5-c5hv.