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.
Published: 2026-06-23
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Wed, 24 Jun 2026 00:00:00 +0000

Type Values Removed Values Added
First Time appeared Nocodb
Nocodb nocodb
Vendors & Products Nocodb
Nocodb nocodb

Tue, 23 Jun 2026 20:30:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-23T19:44:19.940Z

Reserved: 2026-06-11T15:46:12.317Z

Link: CVE-2026-53929

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-24T10:15:05Z

Weaknesses
  • CWE-79

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