Vulnerabilities

Vulnerability · CVE-2025-34281

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) vulnerab

Published Oct 17, 2025 · catalog updated Feb 10, 2026 · ThingsBoard

Last checked Oct 25, 2026. A connected source was read within the last 7 days.

Check if you run it

No confirmed exploitation is on record for CVE-2025-34281. EPSS is 0.38%. Act only if a listed version of ThingsBoard is installed.

Gaps on this record

  • No vendor fix or required action is stored. Compare the linked advisory before you change production.

Same product and reporting

Severity
Medium6.2
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.38%
Remediation
Version ranges on file
Affected products
vendor thingsboard ThingsBoard 0 <4.2.1

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 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 , which fails to restrict the execution of JavaScript code when an image is loaded by the user's b

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • vendor thingsboard ThingsBoard 0 <4.2.10 <4.2.1

How to fix CVE-2025-34281

  • Upgrade

    CVE-2025-34281 lists a fix boundary at 4.2.1. Compare the installed build with that boundary before you change production.

  • Version check

    Seen in 0 <4.2.1

  • Advisory

    Open the cve_org record and follow its fix.

  • Official advisories

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2025-34281. EPSS is 0.38%. Act only if a listed version of ThingsBoard is installed.

Which versions are affected?

Compare what you have installed with thingsboard ThingsBoard 0 <4.2.1 0 <4.2.1. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS 0.38%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Oct 17, 2025 · EUVD

    Detected

    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 element, during a widget creation, deployed to any page of the

  2. Feb 10, 2026 · EUVD

    Updated

    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 element, during a widget creation, deployed to any page of the

Sources

  • CVE.orgVulnerability recordCVE-2025-34281

    Official CVE identifier

    cve.org
  • EUVDVulnerability recordEUVD-2025-34907

    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

    euvd.enisa.europa.eu

References

Freshness

Last verified in this catalog Oct 25, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • CVE.orgOct 24, 2026
  • EUVDOct 24, 2026