CVE-2025-56515 Fiora chat group avatar is vulnerable to XSS via SVG files
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.
Which versions are affected by CVE-2025-56515?
2 open source packages ship an affected version, including fiora. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
fiora npm | All versions | None |
fiora npm | All versions | None |
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.
Other vulnerabilities in n/a
Sources
Also known as GHSA-2c6j-vw6r-mfch.