Skip to main content

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CVE-2023-49781

Severity High
Score 7.6/10

Summary

NocoDB is software for building databases as spreadsheets. Prior to 0.202.9, a Stored Cross-site Scripting vulnerability existed 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.

  • LOW
  • NETWORK
  • LOW
  • CHANGED
  • REQUIRED
  • LOW
  • HIGH
  • NONE

CWE-79 - Cross Site Scripting

Cross-Site Scripting, commonly referred to as XSS, is the most dominant class of vulnerabilities. It allows an attacker to inject malicious code into a pregnable web application and victimize its users. The exploitation of such a weakness can cause severe issues such as account takeover, and sensitive data exfiltration. Because of the prevalence of XSS vulnerabilities and their high rate of exploitation, it has remained in the OWASP top 10 vulnerabilities for years.

Advisory Timeline

  • Published