CVE-2025-34281
Wolfi vulnerability analysis and mitigation

Overview

ThingsBoard versions prior to 4.2.1 contain a stored cross-site scripting (XSS) vulnerability in the dashboard's Image Upload Gallery feature. The vulnerability was discovered and disclosed on October 17, 2025, and is tracked as CVE-2025-34281. The issue affects the ThingsBoard platform's image upload functionality and has been assigned a CVSS v4.0 score of 5.1 (Medium) (VulnCheck).

Technical details

The vulnerability exists due to insufficient sanitization and improper content-type validation of uploaded SVG files in the dashboard's Image Upload Gallery feature. An attacker can exploit this by uploading an SVG file containing malicious JavaScript code. The vulnerability has been classified as CWE-79 (Improper Neutralization of Input During Web Page Generation) and received a CVSS v4.0 vector string of CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N (VulnCheck).

Impact

When exploited, the vulnerability allows the execution of malicious JavaScript code when the SVG file is rendered in the UI. This can lead to potential cross-site scripting attacks, which could compromise user sessions or perform unauthorized actions on behalf of users viewing the affected dashboard (VulnCheck).

Mitigation and workarounds

The vulnerability has been fixed in ThingsBoard version 4.2.1. The fix includes adding Content-Security-Policy headers to the public image API to prevent malicious code injection. Users are advised to upgrade to version 4.2.1 or later to address this security issue (ThingsBoard Release, ThingsBoard PR).

Additional resources


SourceThis report was generated using AI

Related Wolfi vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-15514HIGH8.7
  • WolfiWolfi
  • cpe:2.3:a:ollama:ollama
NoNoJan 12, 2026
CVE-2026-22801MEDIUM6.8
  • OpenJDK JDKOpenJDK JDK
  • java-1.8.0-openjdk-devel-slowdebug
NoYesJan 12, 2026
CVE-2026-22695MEDIUM6.1
  • OpenJDK JDKOpenJDK JDK
  • java-17-openjdk-devel-slowdebug
NoYesJan 12, 2026
CVE-2026-22772MEDIUM5.8
  • WolfiWolfi
  • golang-github-sigstore-fulcio
NoYesJan 12, 2026
CVE-2026-22784LOW2.3
  • WolfiWolfi
  • lychee
NoYesJan 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management