# CVE-2023-50883: ONLYOFFICE Docs before 8.0.1 allows XSS because a macro is an immediately-invoked function expression (IIFE), and therefore a sandbox escap…

- Severity: Medium 6.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 50% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-09-09T00:00:00.000Z
- Modified: 2026-06-17T06:40:09.510Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- onlyoffice docs: before 8.0.1
- onlyoffice document_server: before 8.0.1

## Every score

- CISA-ADP: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://www.syss.de/fileadmin/dokumente/Publikationen/Advisories/SYSS-2023-027.txt> (exploit, third-party-advisory)
- <https://www.onlyoffice.com/> (product)
- <https://www.syss.de/pentest-blog/cross-site-scripting-schwachstelle-in-onlyoffice-docs-syss-2023-027> (third-party-advisory)

## Sources

- CVE List: [CVE-2023-50883](https://www.cve.org/CVERecord?id=CVE-2023-50883), CVE Terms of Use, modified 2024-09-10
- NVD: [CVE-2023-50883](https://nvd.nist.gov/vuln/detail/CVE-2023-50883), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-50883 · Whole record: https://cve.day/CVE-2023-50883.json · Rebuilt by cve.day 2026-11-25T22:58:34.308Z
