CVE-2022-47412 ONLYOFFICE Workspace Search Stored XSS
An attacker can inject malicious scripts via documents in ONLYOFFICE Workspace, potentially executing code or hijacking user sessions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-47412?
CVE-2022-47412 is a medium-severity cross-site scripting vulnerability in ONLYOFFICE Workspace, published on 7 Feb 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Given a malicious document provided by an attacker, the ONLYOFFICE Workspace DMS is vulnerable to a stored (persistent, or "Type II") cross-site scripting (XSS) condition.
Weakness: CWE-79
Which versions are affected by CVE-2022-47412?
It affects 1 product.
Products include Onlyoffice Workspace.
How do I fix CVE-2022-47412?
No fix has been published for CVE-2022-47412 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-47412 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-47412 exists.
Sources
Also known as GHSA-2chf-w4v5-vmmg.