CVE-2026-25648 Traccar Vulnerable to Stored Cross-Site Scripting (XSS) via Malicious SVG File Upload

High 8.7 Published Updated

Authenticated attackers can execute arbitrary JavaScript in other users' browsers by uploading malicious SVG files as device images in Traccar.

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-2026-25648?

CVE-2026-25648 is a high-severity cross-site scripting vulnerability in traccar, published on 23 Feb 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Versions of the Traccar open-source GPS tracking system starting with 6.11.1 contain an issue in which authenticated users can execute arbitrary JavaScript in the context of other users' browsers by uploading malicious SVG files as device images. The application accepts SVG file uploads without sanitization and serves them with the `image/svg+xml` Content-Type, allowing embedded JavaScript to execute when victims view the image. As of time of publication, it is unclear whether a fix is available.

Weakness: CWE-79, CWE-434

Which versions are affected by CVE-2026-25648?

It affects 1 product.

Products include Traccar Traccar.

How do I fix CVE-2026-25648?

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

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

Sources

Also known as GHSA-mc2g-mjqh-8x78.

Is CVE-2026-25648 in your software?

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

Check your SBOMs for free