{"id":"GHSA-6mhr-74x2-98v9","revision":"fe1ca9c3686242f7abdfe707f3e411ef","records":[{"revision":"fe1ca9c3686242f7abdfe707f3e411ef","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-6mhr-74x2-98v9","aliases":["CVE-2026-53929"],"title":"NocoDB: Stored Cross-Site Scripting via Secure Attachment","description":"### Summary\nWith `NC_SECURE_ATTACHMENTS=true`, an authenticated uploader could deliver `.html` or\n`.svg` attachments that the browser rendered inline from the NocoDB origin instead of\nforcing a download.\n\n### Details\nThe signed attachment handler stored response-header overrides under PascalCase keys\n(`ResponseContentDisposition`, `ResponseContentType`) while the controller that served\nthe file read them under lowercase-hyphen names (`response-content-disposition`). The\nmismatch dropped the `Content-Disposition: attachment` header, leaving Express to\nauto-render `.html`, `.svg`, and similar inline. The fix corrects the key case and\nadditionally forces `Content-Disposition: attachment` and\n`Content-Type: application/octet-stream` for any MIME type not on the preview\nallowlist.\n\n### Impact\nStored Cross-Site Scripting in the NocoDB origin from inline-rendered uploads. Script\nexecuting in the victim's browser can read the auth JWT from `localStorage`.\nExploitation requires authenticated upload permission and the secure-attachment mode\nto be enabled.\n\n### Credit\nThis issue was reported by [@bugbunny-research](https://github.com/bugbunny-research).\nIt was independently reported by [@DavidCarliez](https://github.com/DavidCarliez).","state":0,"publishedAt":"2026-06-17T14:07:52+00:00","modifiedAt":"2026-07-20T21:30:33.0699473+00:00","affected":[{"ecosystem":"npm","name":"nocodb","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"0.301.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/nocodb/nocodb/security/advisories/GHSA-6mhr-74x2-98v9","https://nvd.nist.gov/vuln/detail/CVE-2026-53929","https://github.com/nocodb/nocodb"],"sourceUrl":"https://github.com/advisories/GHSA-6mhr-74x2-98v9","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-6mhr-74x2-98v9","identifiers":["GHSA-6mhr-74x2-98v9","CVE-2026-53929"]},"retained":false,"historicalAffected":[]}],"coverage":[]}