ThingsBoard
CVE-2025-34282
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAccess image upload gallery (authenticated or not)
-
DeliveryUpload SVG with embedded external URL reference
-
ExploitThingsBoard serves SVG to viewing user
-
ExecutionBrowser or server resolves external URL
-
PersistOutbound HTTP request reaches internal service or metadata endpoint
-
ImpactAttacker captures response via callback
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The vulnerable feature is the Image Upload Gallery within the ThingsBoard dashboard interface - exploitation requires the ability to upload SVG files to this gallery. The CVSS 4.0 vector assigns PR:N (no privileges required), but this is not confirmed by the vulnerability description and conflicts with the expected authenticated nature of dashboard features; defenders should verify whether the image upload endpoint is accessible without login in their specific deployment. For the browser-mediated exploitation path (the one addressed by the CSP fix), a second condition applies: a victim user must view or load the gallery page containing the malicious SVG in their browser. If ThingsBoard performs server-side SVG processing during upload, the server-side path would have no UI requirement. Exploitation is not limited to any specific operating system or infrastructure configuration, but impact is amplified in cloud environments where the server can reach metadata services. Factors that limit exploitation: authentication likely required to upload (unconfirmed), victim must view the SVG for browser-mediated path, and ThingsBoard must be reachable from the attacker's network. |
| Impact | The assigned CVSS 4.0 score of 6.9 with vector AV:N/AC:L/AT:N/PR:N/UI:N indicates network-accessible, low-complexity, unauthenticated exploitation - but this PR:N assignment is the most significant signal to interrogate. ThingsBoard's dashboard image gallery is a feature embedded within an authenticated management interface; unauthenticated upload access is not described in the vulnerability disclosure and would be architecturally unusual. This discrepancy should be verified against the VulnCheck advisory (https://www.vulncheck.com/advisories/thingsboard-svg-image-ssrf) before treating this as an unauthenticated attack surface. No CISA KEV listing and no confirmed public exploit code exist, meaning no public exploit identified at time of analysis, which substantially reduces immediate operational risk. EPSS data was not provided. The CSP-based fix suggests the highest-confidence exploitation path is browser-mediated SSRF (victim renders a malicious SVG served by ThingsBoard, their browser fetches attacker-controlled or internal URLs), which limits impact to authenticated users or administrators viewing the gallery. True server-side SSRF during upload processing would be a more severe scenario but is not confirmed by the fix approach. Overall, this is a moderate-severity issue: real-world risk is constrained by likely authentication requirements and the browser-mediated nature of the primary exploit path, but internal service access via cloud metadata endpoints (e.g., AWS IMDSv1) remains a meaningful threat in cloud-hosted deployments. |
| Exploit ScenarioDerived | An attacker with access to the ThingsBoard dashboard (authenticated user, or unauthenticated if the upload endpoint is publicly exposed) uploads a crafted SVG file containing an external reference such as <image href='http://169.254.169.254/latest/meta-data/'> to the Image Upload Gallery. When an administrator or another user views the gallery and their browser renders the served SVG, the browser issues an HTTP request to the cloud metadata endpoint, returning IAM credentials or instance configuration data accessible to the attacker via a callback mechanism embedded in the SVG. In deployments where ThingsBoard's server-side processing also parses SVG references, the request may additionally originate from the server's network context, enabling probing of internal services not reachable from the attacker's network. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 14, 2026
SVG-based server-side request forgery in ThingsBoard versions prior to 4.2.1 allows upload of crafted SVG files containing external URL references to the dashboard Image Upload Gallery, causing the platform to initiate unintended outbound HTTP requests toward internal network resources. All ThingsBoard deployments (community, professional edition) running versions before 4.2.1 are affected via this gallery feature. No public exploit code or CISA KEV listing exists at time of analysis; however, the upstream fix in PR #13927 - which adds a Content-Security-Policy response header rather than sanitizing SVG content at upload - indicates the primary exploitation path may be browser-mediated rather than purely server-side, warranting scrutiny of the PR:N (no privileges required) CVSS assignment.
RemediationAI
Upgrade ThingsBoard to version 4.2.1 or later, which incorporates the fix from PR #13927 (https://github.com/thingsboard/thingsboard/pull/13927) adding Content-Security-Policy: default-src 'none' to image serving responses. The release is available at https://github.com/thingsboard/thingsboard/releases/tag/v4.2.1. Prior to patching, apply network-level egress filtering on the ThingsBoard server host to block outbound HTTP/HTTPS connections to RFC 1918 address space (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and cloud metadata endpoints (169.254.169.254, 100.100.100.200) - this limits the practical reachability of internal services via SSRF but does not prevent the outbound attempt itself and may break legitimate integrations if ThingsBoard communicates with internal microservices. Additionally, if the image gallery upload endpoint does not require authentication in your deployment, immediately restrict access to the ThingsBoard admin interface to trusted networks or through a VPN/zero-trust gateway, reducing the attack surface significantly.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ThingsBoard is a Java/Spring-based open-source IoT platform for device management and data visualization. The vulnerability exists within ImageController.java in the image gallery feature (CPE: cpe:2.3:a:thingsboard:thingsboard:*:*:*:*:*:*:*:*). SVG files are XML-based and can embed external resource references via elements such as <image href='...'>, <use xlink:href='...'>, CSS url() references, or <script src='...'>. CWE-918 (Server-Side Request Forgery) indicates the root cause is failure to neutralize outbound requests triggered by user-controlled SVG content before the application or a downstream browser acts on embedded references. Crucially, the fix applied in PR #13927 adds the HTTP response header Content-Security-Policy: default-src 'none' to image download responses rather than stripping external references at upload time. This browser-instruction approach prevents a victim's browser from fetching external URLs when rendering the served SVG, but does not address scenarios where the ThingsBoard server itself parses SVG content and issues outbound requests during processing.
Know when Thingsboard gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L
Dashboard upload requires login (PR:L); UI:R reflects browser-mediated exploitation path evidenced by CSP fix; scope changed as SSRF reaches subsequent internal systems.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
ThingsBoard versions < 4.2.1 contain a server-side request forgery (SSRF) vulnerability in the dashboard's Image Upload Gallery feature. An attacker can upload a malicious SVG file that references a remote URL. If the server processes the SVG file in a way that parses external references, it may initiate unintended outbound requests. This can be used to access internal services or resources.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Affected Products (CPE)CVE.org
More in Thingsboard
View allThingsBoard before 3.5 allows Server-Side Template Injection if users are allowed to modify an email template, because A
ThingsBoard before v3.2 is vulnerable to Host header injection in password-reset emails. Rated high severity (CVSS 8.8),
An arbitrary file upload vulnerability in the Image Gallery of ThingsBoard Community, ThingsBoard Cloud and ThingsBoard
A vulnerability classified as problematic was found in ThingsBoard up to 3.6.2. Rated medium severity (CVSS 6.5), this v
A vulnerability has been found in ThingsBoard up to 3.7.0 and classified as problematic. Rated medium severity (CVSS 6.0
Cross Site Scripting (XSS) vulnerability in Things Board 3.4.1 allows remote attackers to escalate privilege via crafted
Cross site Scripting (XSS) in ThingsBoard IoT Platform through 3.3.4.1 via a crafted value being sent to the audit logs.
An issue was discovered in ThingsBoard 3.4.1, allows low privileged attackers (CUSTOMER_USER) to gain escalated privileg
Sandbox escape via prototype pollution in ThingsBoard (versions prior to v4.3.1.2) allows a TENANT_ADMIN-authenticated u
ThingsBoard 3.4.1 could allow a remote attacker to gain elevated privileges because hard-coded service credentials (usab
Stored cross-site scripting in ThingsBoard's Image Gallery (versions prior to v4.2.1) allows an authenticated user with
Code injection in ThingsBoard 4.3.1.0 and 4.3.1.1 allows remote attackers to embed control characters and shell metachar
NVD
CVE.org
EPSS
Exploit-DB
GitHub
VulDB