CVE-2023-31145
Reflected XSS vulnerability in CollaboraOnline
Mitigation
- Upgrade online to 22.05.13 or later.
Who should check
- Anyone running CollaboraOnline online < 6.4.27; >= 21.0.0, < 21.11.9; >= 22.0.0, < 22.05.13
Vulnerability facts
- Affected
- CollaboraOnline online < 6.4.27; >= 21.0.0, < 21.11.9; >= 22.0.0, < 22.05.13
- Fixed in
- CollaboraOnline online 6.4.27, CollaboraOnline online 21.11.9, CollaboraOnline online 22.05.13
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 4.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.53% chance of exploitation in 30 days (percentile 38, 2026-11-26)
- CWE
- CWE-79
- Modified
Description
Collabora Online is a collaborative online office suite based on LibreOffice technology. This vulnerability report describes a reflected XSS vulnerability with full CSP bypass in Nextcloud installations using the recommended bundle. The vulnerability can be exploited to perform a trivial account takeover attack. The vulnerability allows attackers to inject malicious code into web pages, which can be executed in the context of the victim's browser session. This means that an attacker can steal sensitive data, such as login credentials or personal information, or perform unauthorized actions on behalf of the victim, such as modifying or deleting data. In this specific case, the vulnerability allows for a trivial account takeover attack. An attacker can exploit the vulnerability to inject code into the victim's browser session, allowing the attacker to take over the victim's account without their knowledge or consent. This can lead to unauthorized access to sensitive information and data, as well as the ability to perform actions on behalf of the victim. Furthermore, the fact that the vulnerability bypasses the Content Security Policy (CSP) makes it more dangerous, as CSP is an important security mechanism used to prevent cross-site scripting attacks. By bypassing CSP, attackers can circumvent the security measures put in place by the web application and execute their malicious code. This issue has been patched in versions 22.05.13, 21.11.9, and 6.4.27. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| CollaboraOnline online | < 6.4.27; >= 21.0.0, < 21.11.9; >= 22.0.0, < 22.05.13 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-31145. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-31145.md Affected: CollaboraOnline online < 6.4.27; >= 21.0.0, < 21.11.9; >= 22.0.0, < 22.05.13 Fixed in: CollaboraOnline online 6.4.27, CollaboraOnline online 21.11.9, CollaboraOnline online 22.05.13 Steps: 1. Search this machine and project for CollaboraOnline online: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2023-31145 being exploited?
There is no confirmed exploitation: CVE-2023-31145 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.53% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-31145?
Medium: CVSS 4.3 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2023-31145?
CollaboraOnline online < 6.4.27; >= 21.0.0, < 21.11.9; >= 22.0.0, < 22.05.13.
Is there a fix for CVE-2023-31145?
Yes. Fixed in CollaboraOnline online 6.4.27, CollaboraOnline online 21.11.9, CollaboraOnline online 22.05.13. Upgrade online to 22.05.13 or later.
How do I check if I'm affected by CVE-2023-31145?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.