CVE-2025-10254 Ascensio System SIA OnlyOffice SVG Image Messages.aspx cross site scripting

Medium 5.1 Published Updated

Remote attackers can execute arbitrary scripts via SVG images in OnlyOffice Messages.aspx, potentially leading to session hijacking or code execution.

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-2025-10254?

CVE-2025-10254 is a medium-severity cross-site scripting vulnerability in Ascensio System SIA OnlyOffice, published on 11 Sep 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A vulnerability was found in Ascensio System SIA OnlyOffice up to 12.7.0. This issue affects some unknown processing of the file /Products/Projects/Messages.aspx of the component SVG Image Handler. Performing manipulation results in cross site scripting. The attack may be initiated remotely. The exploit has been made public and could be used. The vendor was informed early about this issue and replied: "We are already working on this case, and the issues will be resolved in one of the upcoming patches."

Weakness: CWE-94, CWE-79

Which versions are affected by CVE-2025-10254?

How do I fix CVE-2025-10254?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-10254 exists.

Sources

Also known as GHSA-prjg-82p9-f83v.

Is CVE-2025-10254 in your software?

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

Check your SBOMs for free