CVE-2023-50717 NocoDB Allows Preview of File with Dangerous Content
Attackers can upload malicious HTML files to trigger stored XSS, allowing script execution and data theft in victim browsers.
- 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-2023-50717?
CVE-2023-50717 is a medium-severity cross-site scripting vulnerability in nocodb, published on 13 May 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
NocoDB is software for building databases as spreadsheets. Starting in verson 0.202.6 and prior to version 0.202.10, an attacker can upload a html file with malicious content. If user tries to open that file in browser malicious scripts can be executed leading stored cross-site scripting attack. This allows remote attacker to execute JavaScript code in the context of the user accessing the vector. An attacker could have used this vulnerability to execute requests in the name of a logged-in user or potentially collect information about the attacked user by displaying a malicious form. Version 0.202.10 contains a patch for the issue.
Which versions are affected by CVE-2023-50717?
2 open source packages ship an affected version, including nocodb. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
nocodb npm | From 0.202.6 | 0.202.10 |
nocodb npm | From 0.202.6 | 0.202.10 |
Products include Nocodb Nocodb.
How do I fix CVE-2023-50717?
Upgrade nocodb to 0.202.10 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-2023-50717 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-50717 exists.
Other vulnerabilities in nocodb
- CVE-2022-2339 Server-Side Request Forgery (SSRF) in nocodb/nocodb
- CVE-2022-2062 Generation of Error Message Containing Sensitive Information in nocodb/nocodb
- CVE-2022-2064 Insufficient Session Expiration in nocodb/nocodb
- CVE-2022-2063 Improper Privilege Management in nocodb/nocodb
- CVE-2022-2022 Cross-site Scripting (XSS) - Stored in nocodb/nocodb
Sources
Also known as GHSA-qg73-g3cf-vhhh.