CVE-2023-49781 HIGH

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

Vendor Nocodb
Product nocodb
Weakness CWE-79 · XSS
Published May 13, 2024
Last update August 2, 2024

CVSS base score

7.3/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 13, 2024 CVE published
August 2, 2024 Record updated