CVE-2025-3261: Stored Cross-Site Scripting (XSS) in ThingsBoard

Published Nov 27, 2025
·
Updated

Rejected reason: This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.

Other sources

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.

GitHub

Affected Software

3 affected componentsFixes available
ThingsBoard ThingsBoard<4.2.1
maven/org.thingsboard:application<4.2.1
4.2.1
ThingsBoard ThingsBoard<4.2.1

Event History

Nov 27, 2025
CVE Published
via MITRE·06:11 PM
Rejected
via MITRE·06:11 PM
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·06:30 PM
Data Sourced
via GitHub·06:30 PM
DescriptionWeaknessAffected Software
Dec 16, 2025
Rejected
via MITRE·11:01 AM

Frequently Asked Questions

1

What is the severity of CVE-2025-3261?

The severity of CVE-2025-3261 is considered significant due to its potential for Stored Cross-Site Scripting vulnerabilities that can affect users.

2

How do I fix CVE-2025-3261?

To fix CVE-2025-3261, update ThingsBoard to version 4.2.1 or later.

3

Who is affected by CVE-2025-3261?

CVE-2025-3261 affects authenticated users of ThingsBoard versions prior to 4.2.1.

4

What type of vulnerability is CVE-2025-3261?

CVE-2025-3261 is categorized as a Stored Cross-Site Scripting (XSS) vulnerability.

5

What can attackers do with CVE-2025-3261?

Attackers can exploit CVE-2025-3261 to upload malicious SVG images, potentially impacting users accessing the affected API endpoint.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203