CVEFinder.io

CVE-2025-34281

🔶 medium
Summary

ThingsBoard in versions prior to v4.2.1 allows an authenticated user to upload malicious SVG images via the "Image Gallery", leading to a Stored Cross-Site Scripting (XSS) vulnerability. The exploit can be triggered when any user accesses the public API endpoint of the malicious SVG images, or if the malicious images are embedded in an `iframe` element, during a widget creation, deployed to any page of the platform (e.g., dashboards), and accessed during normal operations. The vulnerability resi

Description

ThingsBoard in versions prior to v4.2.1 allows an authenticated user to upload malicious SVG images via the "Image Gallery", leading to a Stored Cross-Site Scripting (XSS) vulnerability. The exploit can be triggered when any user accesses the public API endpoint of the malicious SVG images, or if the malicious images are embedded in an `iframe` element, during a widget creation, deployed to any page of the platform (e.g., dashboards), and accessed during normal operations. The vulnerability resides in the `ImageController`, which fails to restrict the execution of JavaScript code when an image is loaded by the user's browser. This vulnerability can lead to the execution of malicious code in the context of other users' sessions, potentially compromising their accounts and allowing unauthorized actions.

CVSS Score
5.4
Medium
EPSS Score
0.4
Exploit Probability
Published Date
2025-10-17
First Seen: 2026-01-05
📊 Relative Risk Intelligence

This CVE is Lower Risk - more severe than 22.2% of all 378,739 vulnerabilities in our database.

#294,756
Below average severity
Severity Percentile
🎯 CISA SSVC Assessment Updated: Oct 17, 2025
🔍 Exploitation Status
None
No known exploits
⚙️ Automatable
NO
Requires human interaction
💥 Technical Impact
Partial
Limited system impact
🏆 Discovered By
João Oliveira from Checkmarx Security Research Group
SSVC data provided by CISA
Last Modified 2026-10-19
Source NVD 🔗
CVSS Vector 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS Vector 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CWE IDs (Weakness Types)

📦 Affected Products 1

🔗 References 3

🔗 Related CVEs 6

CVE ID Severity CVSS EPSS Summary Published
CVE-2025-34282 ⛔ critical 9.1 1.8 ThingsBoard versions < 4.2.1 contain a server-side request forgery (SSRF) vulnerability in the dashboard's Image Upload ... 2025-10-17
CVE-2025-9094 🔶 medium 4.3 0.1 A vulnerability was detected in ThingsBoard 4.1. This vulnerability affects unknown code of the component Add Gateway Ha... 2025-08-17
CVE-2024-55466 🔶 medium 6.5 0.1 An arbitrary file upload vulnerability in the Image Gallery of ThingsBoard Community, ThingsBoard Cloud and ThingsBoard ... 2025-05-12
CVE-2024-9358 🔶 medium 5.3 0.2 A vulnerability has been found in ThingsBoard up to 3.7.0 and classified as problematic. Affected by this vulnerability ... 2024-10-01
CVE-2024-3270 ℹ️ low 3.8 0.1 A vulnerability classified as problematic was found in ThingsBoard up to 3.6.2. This vulnerability affects unknown code ... 2024-04-03
CVE-2023-45303 ⚠️ high 8.4 0.6 ThingsBoard before 3.5 allows Server-Side Template Injection if users are allowed to modify an email template, because A... 2023-10-06
These CVEs affect the same products