CVE-2023-49781 NocoDB Vulnerable to Stored Cross-Site Scripting in Formula.vue
HighCVSS 7.6
EPSS 0.66%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
NocoDB is software for building databases as spreadsheets. Prior to 0.202.9, a stored cross-site scripting vulnerability exists within the Formula virtual cell comments functionality. The nc-gui/components/virtual-cell/Formula.vue displays a v-html tag with the value of "urls" whose contents are processed by the function replaceUrlsWithLink(). This function recognizes the pattern URI::(XXX) and creates a hyperlink tag <a> with href=XXX. However, it leaves all the other contents outside of the pattern URI::(XXX) unchanged. This vulnerability is fixed in 0.202.9.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nocodb | < 0.202.9; = < 0.202.9; All versions | 0.202.9 | Partially fixed |
| npm nocodb(npm) | < 0.202.9; <= 0.202.8 | 0.202.9 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm nocodb(npm) | <= 0.202.8 | No fix listed |
| nocodb | = < 0.202.9 | No fix listed |
| nocodb | All versions | No fix listed |
| nocodb | < 0.202.9 | 0.202.9 |
| npm nocodb(npm) | < 0.202.9 | 0.202.9 |
References
- https://github.com/nocodb/nocodb/security/advisories/GHSA-h6r4-xvw6-jc5h exploit vendor-advisory
- https://github.com/nocodb/nocodb/commit/7f58ce3726dfec71537d8b80474a0f95a48a1574 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product