CVE-2026-53929

NocoDB: Stored Cross-Site Scripting via Secure Attachment

Published Jun 23, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
NocoDB is software for building databases as spreadsheets. Prior to 2026.05.1, with NC_SECURE_ATTACHMENTS=true, an authenticated uploader could deliver .html or .svg attachments that the browser rendered inline from the NocoDB origin instead of forcing a download. The signed attachment handler stored response-header overrides under PascalCase keys (ResponseContentDisposition, ResponseContentType) while the controller that served the file read them under lowercase-hyphen names (response-content-disposition). The mismatch dropped the Content-Disposition: attachment header, leaving Express to auto-render .html, .svg, and similar inline. This vulnerability is fixed in 2026.05.1.

Analysis

AI-generated

Technical impact

NocoDB, a spreadsheet‑style database builder, stored a cross‑site scripting vulnerability in versions older than 2026.05.1 when the NC_SECURE_ATTACHMENTS=true setting was enabled. An authenticated uploader could submit an .html or .svg file; because the system saved header overrides under PascalCase keys but the download controller consulted them under dash‑separated lowercase names, the Content‑Disposition: attachment header was omitted. Express then served the file inline, rendering the malicious payload directly in the browser. Execution of that payload in the context of any authenticated session could steal session cookies, deface content, or carry out other browser‑based attacks. This flaw is a classic stored XSS, identified as CWE‑79.

Affected Systems

Affected are NocoDB deployments of any version prior to 2026.05.1 that have the secure‑attachment feature enabled. Any authenticated uploader can create an .html or .svg file that will be served with an inline rendering policy, allowing any authenticated user who later accesses the file to have the payload executed in their browser.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity. The EPSS score is not available, so current exploitation likelihood is unknown, and the vulnerability is not listed in CISA’s KEV catalog. The attack vector is web‑based and requires an authenticated session with upload privileges to inject the malicious file and a second authenticated session to trigger its rendering. No server‑side privilege escalation is required. Consequently, the risk is moderate but should be mitigated promptly by applying the vendor patch.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade NocoDB to version 2026.05.1 or later, which restores correct Content‑Disposition handling.
  • If an upgrade is not possible, disable the secure‑attachment feature by setting NC_SECURE_ATTACHMENTS=false to prevent inline rendering of .html and .svg files.
  • Restrict upload permissions to trusted users only and implement strict MIME‑type validation or file sanitization to block embedded scripts.

Generated by OpenCVE AI on June 24, 2026 at 10:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-6mhr-74x2-98v9 NocoDB: Stored Cross-Site Scripting via Secure Attachment
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Nocodb
Nocodb nocodb
Vendors & Products Nocodb
Nocodb nocodb
Type Values Removed Values Added
Description NocoDB is software for building databases as spreadsheets. Prior to 2026.05.1, with NC_SECURE_ATTACHMENTS=true, an authenticated uploader could deliver .html or .svg attachments that the browser rendered inline from the NocoDB origin instead of forcing a download. The signed attachment handler stored response-header overrides under PascalCase keys (ResponseContentDisposition, ResponseContentType) while the controller that served the file read them under lowercase-hyphen names (response-content-disposition). The mismatch dropped the Content-Disposition: attachment header, leaving Express to auto-render .html, .svg, and similar inline. This vulnerability is fixed in 2026.05.1.
Title NocoDB: Stored Cross-Site Scripting via Secure Attachment
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 25, 2026, 7:19 PM
Reserved
Jun 11, 2026, 3:46 PM
Status
Deferred
Published
Jun 23, 2026, 9:17 PM
Modified
Jun 25, 2026, 8:17 PM