GHSA-fpq4-r87v-g246

Suggest an improvement
Source
https://github.com/advisories/GHSA-fpq4-r87v-g246
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-fpq4-r87v-g246/GHSA-fpq4-r87v-g246.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fpq4-r87v-g246
Aliases
Published
2025-10-17T21:31:17Z
Modified
2026-02-10T21:56:17Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
  • 5.1 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
ThingsBoard vulnerable to stored cross-site scripting (XSS) vulnerability in the dashboard's Image Upload Gallery feature
Details

ThingsBoard versions < 4.2.1 contain a stored cross-site scripting (XSS) vulnerability in the dashboard's Image Upload Gallery feature. An attacker can upload an SVG file containing malicious JavaScript, which may be executed when the file is rendered in the UI. This issue results from insufficient sanitization and improper content-type validation of uploaded SVG files.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-02-10T21:33:09Z",
    "nvd_published_at": "2025-10-17T19:15:37Z",
    "severity": "MODERATE"
}
References

Affected packages

Maven / org.thingsboard:application

Package

Name
org.thingsboard:application
View open source insights on deps.dev
Purl
pkg:maven/org.thingsboard/application

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.2.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-fpq4-r87v-g246/GHSA-fpq4-r87v-g246.json"