Skip to content
OpenAdvisories
High · 7.3 CVE-2023-49781 EUVD-2024-1640GHSA-h6r4-xvw6-jc5h

NocoDB Vulnerable to Stored Cross-Site Scripting in Formula.vue

Published May 13, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
nocodb nocodb < 0.202.9 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm nocodb < 0.202.9 0.202.9 GHSA-h6r4-xvw6-jc5h

References