PT-2025-48282 · Unknown · Thingsboard

João Oliveira

·

Published

2025-10-17

·

Updated

2025-12-03

·

CVE-2025-3261

CVSS v4.0

6.2

Medium

VectorAV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N
Name of the Vulnerable Software and Affected Versions ThingsBoard versions prior to 4.2.1
Description An authenticated user can upload malicious SVG images through the "Image Gallery". This leads to a Stored Cross-Site Scripting (XSS) issue. The exploit is triggered when any user accesses the public API endpoint of the malicious SVG images, or if the images are embedded in an iframe element. The vulnerability is located in the ImageController, which does not restrict JavaScript execution when an image is loaded. This can result in the execution of malicious code within other users' sessions, potentially compromising accounts and enabling unauthorized actions. The affected API endpoint is not explicitly specified beyond being a public API endpoint for SVG images.
Recommendations Update ThingsBoard to version 4.2.1 or later.

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2025-3261
GHSA-5P82-2Q3R-WJ3M
GHSA-FPQ4-R87V-G246

Affected Products

Thingsboard