{"id":"CVE-2023-50883","details":"ONLYOFFICE Docs before 8.0.1 allows XSS because a macro is an immediately-invoked function expression (IIFE), and therefore a sandbox escape is possible by directly calling the constructor of the Function object. NOTE: this issue exists because of an incorrect fix for CVE-2021-43446.","modified":"2026-08-12T03:51:29.074863451Z","published":"2024-09-09T00:00:00Z","database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50883.json","unresolved_ranges":[{"extracted_events":[{"fixed":"8.0.1"}],"source":"DESCRIPTION"}]},"references":[{"type":"WEB","url":"https://www.onlyoffice.com/"},{"type":"WEB","url":"https://www.syss.de/fileadmin/dokumente/Publikationen/Advisories/SYSS-2023-027.txt"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50883.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50883"},{"type":"ARTICLE","url":"https://www.syss.de/pentest-blog/cross-site-scripting-schwachstelle-in-onlyoffice-docs-syss-2023-027"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/onlyoffice/documentserver","events":[{"introduced":"0"},{"fixed":"7c81f692a2d268853d33a498aa50aad2c71f76ce"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:onlyoffice:document_server:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"8.0.1"}]}}],"versions":["v8.0.0","v7.5.1","v7.5.0","v7.4.1","v7.4.0","v7.3.3","v7.3.2","v7.3.0","v7.2.2","v7.2.1","v7.2.0","v7.1.1","v7.1.0","v7.0.1","v7.0.0","v6.4.2","v6.4.1","v6.4.0","v6.3.2","v6.3.1","v6.3.0","v6.2.2","v6.2.1","v6.2.0","v6.1.1","v6.1.0","ONLYOFFICE-DocumentServer-6.0.2","ONLYOFFICE-DocumentServer-6.0.1","ONLYOFFICE-DocumentServer-6.0.0","ONLYOFFICE-DocumentServer-5.6.5","ONLYOFFICE-DocumentServer-5.6.4","ONLYOFFICE-DocumentServer-5.6.3","ONLYOFFICE-DocumentServer-5.6.2","ONLYOFFICE-DocumentServer-5.6.1","ONLYOFFICE-DocumentServer-5.6.0","ONLYOFFICE-DocumentServer-5.5.3","ONLYOFFICE-DocumentServer-5.5.1","ONLYOFFICE-DocumentServer-5.5.0","ONLYOFFICE-DocumentServer-5.4.2","ONLYOFFICE-DocumentServer-5.4.1","ONLYOFFICE-DocumentServer-5.4.0-2","ONLYOFFICE-DocumentServer-5.3.4","ONLYOFFICE-DocumentServer-5.3.2","ONLYOFFICE-DocumentServer-5.3.1","ONLYOFFICE-DocumentServer-5.3.0","ONLYOFFICE-DocumentServer-5.2.8","ONLYOFFICE-DocumentServer-5.2.7","ONLYOFFICE-DocumentServer-5.2.6","ONLYOFFICE-DocumentServer-5.2.4","ONLYOFFICE-DocumentServer-5.2.3","ONLYOFFICE-DocumentServer-5.2.2","ONLYOFFICE-DocumentServer-5.2.0","ONLYOFFICE-DocumentServer-5.1.5","ONLYOFFICE-DocumentServer-5.1.4","ONLYOFFICE-DocumentServer-5.1.3","ONLYOFFICE-DocumentServer-5.1.2","ONLYOFFICE-DocumentServer-5.1.1","ONLYOFFICE-DocumentServer-5.1.0","ONLYOFFICE-DocumentServer-5.0.7","ONLYOFFICE-DocumentServer-5.0.6","ONLYOFFICE-DocumentServer-5.0.5","ONLYOFFICE-DocumentServer-5.0.4","ONLYOFFICE-DocumentServer-5.0.3","ONLYOFFICE-DocumentServer-4.4.3","ONLYOFFICE-DocumentServer-4.4.2","ONLYOFFICE-DocumentServer-4.4.1","ONLYOFFICE-DocumentServer-4.3.6","ONLYOFFICE-DocumentServer-4.3.5","ONLYOFFICE-DocumentServer-4.3.4","ONLYOFFICE-DocumentServer-4.3.3","ONLYOFFICE-DocumentServer-4.3.2","ONLYOFFICE-DocumentServer-4.3.1","ONLYOFFICE-DocumentServer-4.3.0","ONLYOFFICE-DocumentServer-4.2.11","ONLYOFFICE-DocumentServer-4.2.10","ONLYOFFICE-DocumentServer-4.2.9","ONLYOFFICE-DocumentServer-4.0.0-9","ONLYOFFICE-DocumentServer-4.2.8","ONLYOFFICE-DocumentServer-4.2.7","ONLYOFFICE-DocumentServer-4.2.5","ONLYOFFICE-DocumentServer-4.2.4","ONLYOFFICE-DocumentServer-4.2.3","ONLYOFFICE-DocumentServer-4.2.1","ONLYOFFICE-DocumentServer-4.2.0","ONLYOFFICE-DocumentServer-4.1.8-1","ONLYOFFICE-DocumentServer-4.1.6-3","ONLYOFFICE-DocumentServer-4.1.5-1","ONLYOFFICE-DocumentServer-4.1.4-3","ONLYOFFICE-DocumentServer-4.1.2-37","ONLYOFFICE-DocumentServer-4.0.3-3","ONLYOFFICE-DocumentServer-4.0.2-4","ONLYOFFICE-DocumentServer-4.0.1-34","ONLYOFFICE-DocumentServer-3.0.0","ONLYOFFICE-Online-Editors-2.5.7","ONLYOFFICE-Online-Editors-2.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-50883.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}