CVE-2025-56515 Fiora chat group avatar is vulnerable to XSS via SVG files

High 8.8 Published Updated

Attackers can upload malicious SVG files to execute JavaScript, stealing user sessions and cookies in the Fiora chat application.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-56515?

CVE-2025-56515 is a high-severity cross-site scripting vulnerability in n/a, published on 1 Oct 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

File upload vulnerability in Fiora chat application 1.0.0 through user avatar upload functionality. The application fails to validate SVG file content, allowing malicious SVG files with embedded foreignObject elements containing iframe tags and JavaScript event handlers (onmouseover) to be uploaded and stored. When rendered, these SVG files execute arbitrary JavaScript, enabling attackers to steal user sessions, cookies, and perform unauthorized actions in the context of users viewing affected profiles.

Weakness: CWE-79, CWE-434

Which versions are affected by CVE-2025-56515?

2 open source packages ship an affected version, including fiora. It affects 1 product.

PackageAffectedFixed in
fiora npmAll versionsNone
fiora npmAll versionsNone

Products include Suisuijiang Fiora.

How do I fix CVE-2025-56515?

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

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-2c6j-vw6r-mfch.

Is CVE-2025-56515 in your software?

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

Check your SBOMs for free