What’s Vulnerable › Vulnerabilities

CVE-2023-49781: NocoDB Vulnerable to Stored Cross-Site Scripting in Formula.vue

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

How to fix

Upgrade to a fixed version: nocodb 0.202.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-49781 or the next vulnerability affects your stack