{"id":"CVE-2023-49781","published":"2024-05-13T18:54:54Z","modified":"2024-08-02T22:01:25Z","title":"NocoDB Vulnerable to Stored Cross-Site Scripting in Formula.vue","vendor":"nocodb","product":"nocodb","tier":"tail","description":{"text":"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.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00606,"percentile":0.49929,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/nocodb/nocodb/security/advisories/GHSA-h6r4-xvw6-jc5h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nocodb/nocodb/commit/7f58ce3726dfec71537d8b80474a0f95a48a1574","tags":["x_refsource_MISC"]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":9.99},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"nocodb","affectedVersions":[{"vendor":"nocodb","product":"nocodb","versions":["< 0.202.9"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-13T19:49:05.633322Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"nocodb","vulnerableRanges":["<0.202.9"],"patched":["0.202.9"],"from":["GHSA-h6r4-xvw6-jc5h"],"provenance":"source"}],"summary":{"text":"NocoDB, a tool for building databases as spreadsheets, contains a stored cross-site scripting flaw in the Formula virtual cell comments functionality, specifically in the nc-gui/components/virtual-cell/Formula.vue component, which renders unsanitised content via v-html. An attacker with low privileges who can get a user to interact with the crafted content could inject script that runs in the victim's browser, potentially exposing confidential data and integrity-sensitive actions, with network access as the only prerequisite beyond that user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:36Z"},"euvd":{"id":"EUVD-2024-1640","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-3423","published":"2022-10-07","fixed":"0.92.0","kev":false},{"cve":"CVE-2023-5104","published":"2023-09-21","fixed":"0.96.0","kev":false},{"cve":"CVE-2023-43794","published":"2023-10-17","fixed":"0.111.0","kev":false},{"cve":"CVE-2023-49781","published":"2024-05-13","fixed":"0.202.9","kev":false},{"cve":"CVE-2023-50717","published":"2024-05-13","fixed":"0.202.10","kev":false,"link":{"from":"CVE-2023-49781","to":"CVE-2023-50717","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:nocodb","fromFixed":"0.202.9","toFixed":"0.202.10","daysApart":0}]}},{"cve":"CVE-2023-50718","published":"2024-05-13","fixed":"0.202.10","kev":false,"link":{"from":"CVE-2023-49781","to":"CVE-2023-50718","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:nocodb","fromFixed":"0.202.9","toFixed":"0.202.10","daysApart":0}]}},{"cve":"CVE-2025-27506","published":"2025-03-06","fixed":"0.258.0","kev":false}],"package":"npm:nocodb"}}