SecurityContext

CVE-2023-49781: NocoDB - Stored Cross-Site Scripting

  • Cve: CVE-2023-49781
  • Name: NocoDB - Stored Cross-Site Scripting
  • 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.
  • Impact: Attackers can execute arbitrary scripts in the context of other users, leading to data theft or session hijacking.
  • Remediation: Update to version 0.202.9 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Exploit requires storing malicious input in comments.
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.6
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
  • Epss score: 0.00606
  • Epss percentile: 0.49714
  • Assignee: [email protected]
  • Published at: 2024-05-14T14:06:05Z
  • Age in days: 924
  • Modified at: 2026-06-17T06:36:27Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-49781
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://github.com/nocodb/nocodb/security/advisories/GHSA-h6r4-xvw6-jc5hnvd2024-05-14

References

UrlSourceTags
https://github.com/nocodb/nocodb/commit/7f58ce3726dfec71537d8b80474a0f95a48a1574nvdPatch
https://github.com/nocodb/nocodb/security/advisories/GHSA-h6r4-xvw6-jc5hnvdExploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
nocodb:nocodb< 0.202.9nonvd/v1/products/nocodb/nocodb

Projects

RepositoryLink kindsIndexedUrl
nocodb/nocodbcommit, fix, package, security_advisoryyes/v1/repositories/nocodb/nocodb

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2024-05-14
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 43
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports