Skip to main content

ThingsBoard CVE-2025-34282

MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2025-10-17 disclosure@vulncheck.com
6.9
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Access image upload gallery (authenticated or not)
  2. Delivery
    Upload SVG with embedded external URL reference
  3. Exploit
    ThingsBoard serves SVG to viewing user
  4. Execution
    Browser or server resolves external URL
  5. Persist
    Outbound HTTP request reaches internal service or metadata endpoint
  6. Impact
    Attacker 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 1.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (vulncheck) PRIMARY 6.9 MEDIUM
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
vuln.today AI 4.1 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
Low

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

EPSS Score
1.7%
Top 26% exploitable
Prevalence
Medium
widely used open-source IoT platform, enterprise and industrial IoT deployments
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Exploit-DB GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 1.7%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +34
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Affected Products (CPE)CVE.org

cpe:2.3:a:thingsboard:thingsboard:*:*:*:*:*:*:*:*
CVE-2023-45303 HIGH POC
8.8 Oct 06

ThingsBoard before 3.5 allows Server-Side Template Injection if users are allowed to modify an email template, because A

CVE-2020-27687 HIGH POC
8.8 Dec 18

ThingsBoard before v3.2 is vulnerable to Host header injection in password-reset emails. Rated high severity (CVSS 8.8),

CVE-2024-55466 MEDIUM POC
6.5 May 12

An arbitrary file upload vulnerability in the Image Gallery of ThingsBoard Community, ThingsBoard Cloud and ThingsBoard

CVE-2024-3270 MEDIUM POC
6.5 Apr 03

A vulnerability classified as problematic was found in ThingsBoard up to 3.6.2. Rated medium severity (CVSS 6.5), this v

CVE-2024-9358 MEDIUM POC
6.0 Oct 01

A vulnerability has been found in ThingsBoard up to 3.7.0 and classified as problematic. Rated medium severity (CVSS 6.0

CVE-2022-40004 CRITICAL
9.6 Dec 15

Cross Site Scripting (XSS) vulnerability in Things Board 3.4.1 allows remote attackers to escalate privilege via crafted

CVE-2022-31861 MEDIUM POC
5.4 Sep 13

Cross site Scripting (XSS) in ThingsBoard IoT Platform through 3.3.4.1 via a crafted value being sent to the audit logs.

CVE-2022-45608 HIGH
8.8 Mar 01

An issue was discovered in ThingsBoard 3.4.1, allows low privileged attackers (CUSTOMER_USER) to gain escalated privileg

CVE-2026-53676 HIGH
8.6 Jun 17

Sandbox escape via prototype pollution in ThingsBoard (versions prior to v4.3.1.2) allows a TENANT_ADMIN-authenticated u

CVE-2023-26462 HIGH
8.1 Feb 23

ThingsBoard 3.4.1 could allow a remote attacker to gain elevated privileges because hard-coded service credentials (usab

CVE-2025-34281 MEDIUM
6.2 Oct 17

Stored cross-site scripting in ThingsBoard's Image Gallery (versions prior to v4.2.1) allows an authenticated user with

CVE-2026-9568 LOW
2.3 May 26

Code injection in ThingsBoard 4.3.1.0 and 4.3.1.1 allows remote attackers to embed control characters and shell metachar

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy