Home / Thingsboard / Thingsboard / CVE-2022-40004
CVE-2022-40004: is it exploited, and which versions of Thingsboard are affected and fixed?
CVE-2022-40004 is a cross-site scripting (XSS) vulnerability in Thingsboard. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: thingsboard 3.4.1 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.6, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:43 UTC.
What is CVE-2022-40004?
Cross Site Scripting (XSS) vulnerability in Things Board 3.4.1 allows remote attackers to escalate privilege via crafted URL to the Audit Log.
From the CVE record by mitre, last updated April 21, 2025, 17:56 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| thingsboard | thingsboard | 3.4.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:00 UTC.
How severe is CVE-2022-40004?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | CISA-ADP |
| Critical 9.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-40004 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, April 21, 2025)
- EPSS
- 0.96% probability of exploitation activity in the next 30 days, percentile 62.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- September 6, 2022
- Published
- December 15, 2022, 00:00 UTC
- CVE record updated
- April 21, 2025, 17:56 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 05:00 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:43 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Thingsboard?
- Nov 29, 2026CVE-2026-138276 ThingsBoard: improper authorization
- Nov 28, 2026CVE-2026-138085 ThingsBoard: authorization bypass through a user-controlled key (IDOR)
- Jun 17, 2026CVE-2026-53676 ThingsBoard: prototype pollution
- May 26, 2026CVE-2026-9568 ThingsBoard: code injection (remote code execution)
- Oct 17, 2025CVE-2025-34282 ThingsBoard, Inc. ThingsBoard: server-side request forgery (SSRF)
- Oct 17, 2025CVE-2025-34281 thingsboard: cross-site scripting (XSS)
- Aug 17, 2025CVE-2025-9094 ThingsBoard: template injection
- May 12, 2025CVE-2024-55466 Thingsboard: command injection
Questions about CVE-2022-40004
Is CVE-2022-40004 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.96% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Thingsboard are affected by CVE-2022-40004?
thingsboard 3.4.1, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2022-40004?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2022-40004?
Critical (9.6, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2022-40004?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.