CVE-2025-62793 eLabFTW HTML / CSS Injection via Malicious SVG Upload Leads to Credential Theft / Clickjacking

Medium 6.8 Published Updated

Attackers can upload malicious SVG files to execute scripts, leading to session hijacking and data theft in eLabFTW.

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-62793?

CVE-2025-62793 is a medium-severity cross-site scripting vulnerability in elabftw, published on 27 Oct 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

eLabFTW is an open source electronic lab notebook for research labs. The application served uploaded SVG files inline. Because SVG supports active content, an attacker could upload a crafted SVG that executes script when viewed, resulting in stored XSS under the application origin. A victim who opens the SVG URL or any page embedding it could have their session hijacked, data exfiltrated, or actions performed on their behalf. This vulnerability is fixed n 5.3.0.

Weakness: CWE-79

Which versions are affected by CVE-2025-62793?

How do I fix CVE-2025-62793?

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

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

Sources

Also known as GHSA-rq98-8jh9-684f.

Is CVE-2025-62793 in your software?

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

Check your SBOMs for free