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.
References
| Link | Resource |
|---|---|
| https://github.com/thingsboard/thingsboard/pull/13927 | Issue Tracking |
| https://github.com/thingsboard/thingsboard/releases/tag/v4.2.1 | Release Notes |
| https://www.vulncheck.com/advisories/thingsboard-svg-image-stored-xss | Third Party Advisory |
Configurations
History
24 Oct 2025, 13:27
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/thingsboard/thingsboard/pull/13927 - Issue Tracking | |
| References | () https://github.com/thingsboard/thingsboard/releases/tag/v4.2.1 - Release Notes | |
| References | () https://www.vulncheck.com/advisories/thingsboard-svg-image-stored-xss - Third Party Advisory | |
| CPE | cpe:2.3:a:thingsboard:thingsboard:*:*:*:*:*:*:*:* | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.4 |
| First Time |
Thingsboard
Thingsboard thingsboard |
17 Oct 2025, 19:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2025-10-17 19:15
Updated : 2025-10-24 13:27
NVD link : CVE-2025-34281
Mitre link : CVE-2025-34281
CVE.ORG link : CVE-2025-34281
JSON object : View
Products Affected
thingsboard
- thingsboard
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
