All reports
Medium

ThingsBoard vulnerable to stored cross-site scripting (XSS) vulnerability in the dashboard's Image Upload Gallery feature

Affected versions

Affected versions
< 4.2.1
Fixed version
4.2.1

Exploitation

CVE-2025-34281

Probability of exploitation in the next 30 days: 0.39%

FIRST EPSS · 2026-11-24

Description

ThingsBoard versions < 4.2.1 contain a stored cross-site scripting (XSS) vulnerability in the dashboard's Image Upload Gallery feature. An attacker can upload an SVG file containing malicious JavaScript, which may be executed when the file is rendered in the UI. This issue results from insufficient sanitization and improper content-type validation of uploaded SVG files.

Links