CVE-2025-68917 Cross-site scripting in Document Server

Medium 6.4 Published Updated

An attacker can inject malicious scripts into the comment editing form, potentially executing code or hijacking user sessions in ONLYOFFICE Document Server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-68917?

CVE-2025-68917 is a medium-severity cross-site scripting vulnerability in ONLYOFFICE Document Server, published on 24 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

ONLYOFFICE Docs before 9.2.1 allows XSS in the textarea of the comment editing form. This is related to DocumentServer.

Weakness: CWE-79

Which versions are affected by CVE-2025-68917?

How do I fix CVE-2025-68917?

No fix has been published for CVE-2025-68917 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-2025-68917 being exploited?

There is no known exploitation of CVE-2025-68917 in the wild and no public exploit code.

Sources

Also known as GHSA-9gpx-4hwh-g499.

Is CVE-2025-68917 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free