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
No history.
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')
