PT-2025-48282
CVE-2025-3261
·
Published
2025-10-17
·
Updated
2025-12-03
Description by
CVSS 4.0
6.2
MediumMetricsAV: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.
Found an issue in the description? Have something to add? Feel free to write us 👾