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

- Severity: High 7.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 50% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-05-13T18:54:54.196Z
- Modified: 2026-06-17T06:36:27.293Z
- Also known as: GHSA-h6r4-xvw6-jc5h
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- nocodb nocodb: < 0.202.9; *; before 0.202.9
- nocodb (npm): before 0.202.9

## Every score

- GitHub_M: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N`

## References

- <https://github.com/nocodb/nocodb/security/advisories/GHSA-h6r4-xvw6-jc5h> (exploit, vendor-advisory, web)
- <https://github.com/nocodb/nocodb/commit/7f58ce3726dfec71537d8b80474a0f95a48a1574> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-49781> (advisory)
- <https://github.com/nocodb/nocodb> (package)

## Sources

- CVE List: [CVE-2023-49781](https://www.cve.org/CVERecord?id=CVE-2023-49781), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-h6r4-xvw6-jc5h](https://github.com/advisories/GHSA-h6r4-xvw6-jc5h), CC-BY-4.0, modified 2025-08-21
- NVD: [CVE-2023-49781](https://nvd.nist.gov/vuln/detail/CVE-2023-49781), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-49781 · Whole record: https://cve.day/CVE-2023-49781.json · Rebuilt by cve.day 2026-11-25T22:58:33.909Z
