{"id":"CVE-2023-39961","summary":"Text does not respect \"Allow download\" permissions","details":"Nextcloud Server provides data storage for Nextcloud, an open source cloud platform. Starting in version 24.0.4 and prior to versions 25.0.9, 26.0.4, and 27.0.1, when a folder with images or an image was shared without download permissions, the user could add the image inline into a text file and download it. Nextcloud Server versions 25.0.9, 26.0.4, and 27.0.1 and Nextcloud Enterprise Server versions 24.0.12.5, 25.0.9, 26.0.4, and 27.0.1 contain a patch for this issue. No known workarounds are available.","aliases":["GHSA-qhgm-w4gx-gvgp"],"modified":"2026-08-12T03:51:08.647698978Z","published":"2023-08-10T17:18:40.903Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-284"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39961.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"24.0.4"},{"fixed":"24.0.12.5"}]}]},"references":[{"type":"WEB","url":"https://hackerone.com/reports/1965156"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39961.json"},{"type":"ADVISORY","url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-qhgm-w4gx-gvgp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39961"},{"type":"FIX","url":"https://github.com/nextcloud/text/pull/4481"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nextcloud/server","events":[{"introduced":"20ea9a25353129b56d46951fe7d23939665ab2b2"},{"fixed":"fbc4a4aad97572da902fef0ee61cbd49bba58365"},{"introduced":"62cfd3b4c9ff4d8cdbbe6dcc8b63a1085bb94e3d"},{"fixed":"318ac2714fafa63dcd90805a5cb8ee9d60b58f53"},{"introduced":"add4e4365a4040d2e4e6aa79c0d03c3edd78583c"},{"last_affected":"add4e4365a4040d2e4e6aa79c0d03c3edd78583c"}],"database_specific":{"cpe":["cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*","cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*","cpe:2.3:a:nextcloud:nextcloud_server:27.0.0:*:*:*:-:*:*:*","cpe:2.3:a:nextcloud:nextcloud_server:27.0.0:*:*:*:enterprise:*:*:*"],"extracted_events":[{"introduced":"25.0.0"},{"fixed":"25.0.9"},{"introduced":"26.0.0"},{"fixed":"26.0.4"},{"introduced":"27.0.0"},{"last_affected":"27.0.0"}],"source":["CPE_RANGE","CPE_STRING"]}},{"type":"GIT","repo":"https://github.com/nextcloud/text","events":[{"introduced":"b610140d60b978131bb4c4bf24c383946b9f8bae"},{"fixed":"3930f6b81e8f6285710dce808e2338b0fb504f4f"},{"introduced":"3fce0e2feb1e6528a77a441610063051b77cfdde"},{"fixed":"94b8cc5a1612568d231c710339c211e5022afd67"},{"introduced":"18cce808c81d44dbfec09832c994ebcf28d37757"},{"fixed":"fded8a652bb9dd9015f0819992ee5ff216a3d3fb"}],"database_specific":{"extracted_events":[{"introduced":"25.0.0"},{"fixed":"25.0.9"},{"introduced":"27.0.0"},{"fixed":"27.0.1"},{"introduced":"26.0.0"},{"fixed":"26.0.4"}],"source":"AFFECTED_FIELD"}}],"versions":["27.0.0","v25.0.9rc2","v26.0.4rc2","v26.0.4rc1","v25.0.9rc1","v25.0.8","v26.0.3","v25.0.8rc2","v26.0.3rc2","v25.0.8rc1","v26.0.3rc1","v27.0.0","v25.0.7","v26.0.2","v25.0.7rc1","v26.0.2rc1","v25.0.6","v26.0.1","v25.0.6rc1","v26.0.1rc1","v25.0.5","v26.0.0","v25.0.5rc1","v25.0.4","v25.0.4rc1","v25.0.3","v25.0.3rc2","v25.0.3rc1","v25.0.2","v25.0.2rc3","v25.0.2rc2","v25.0.2rc1","v25.0.1","v25.0.1rc1","v25.0.0","v27.0.1rc2","v27.0.1rc1","v25.0.0rc5","v25.0.0rc4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-39961.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N"}]}