{"id":"CVE-2025-9094","state":"PUBLISHED","title":"ThingsBoard Add Gateway special elements used in a template engine","description":"A vulnerability was detected in ThingsBoard 4.1. This vulnerability affects unknown code of the component Add Gateway Handler. The manipulation leads to improper neutralization of special elements used in a template engine. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The vendor replies, that \"[t]he fix will come within upcoming release (v4.2) and will be inherited by maintenance releases of LTS versions (starting 4.0).\"","publishedAt":"2025-08-17T22:32:05.887Z","updatedAt":"2025-08-18T17:42:25.755Z","severity":{"score":5.3,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","source":"VulDB"},"assigner":"VulDB","products":["n/a ThingsBoard"],"affected":[{"vendor":"n/a","product":"ThingsBoard","versions":[{"version":"4.1","status":"affected"}],"modules":["Add Gateway Handler"]}],"references":["https://vuldb.com/?id.320416","https://vuldb.com/?ctiid.320416","https://vuldb.com/?submit.626292","https://drive.google.com/file/d/1cZy-rfQXsF58kJIVs4UXj7usXJuhjZjA/view"],"weaknesses":["CWE-1336","CWE-791"],"ingestedAt":"2026-10-29T20:10:13.529Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/9xxx/CVE-2025-9094.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-9094","state":"PUBLISHED","datePublished":"2025-08-17T22:32:05.887Z","dateUpdated":"2025-08-18T17:42:25.755Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2025-08-17T12:43:44.682Z"},"containers":{"cna":{"title":"ThingsBoard Add Gateway special elements used in a template engine","descriptions":[{"lang":"en","value":"A vulnerability was detected in ThingsBoard 4.1. This vulnerability affects unknown code of the component Add Gateway Handler. The manipulation leads to improper neutralization of special elements used in a template engine. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The vendor replies, that \"[t]he fix will come within upcoming release (v4.2) and will be inherited by maintenance releases of LTS versions (starting 4.0).\""},{"lang":"de","value":"Eine Schwachstelle wurde in ThingsBoard 4.1 gefunden. Das betrifft eine unbekannte Funktionalität der Komponente Add Gateway Handler. Durch Manipulieren mit unbekannten Daten kann eine improper neutralization of special elements used in a template engine-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk angegangen werden. Der Exploit steht zur öffentlichen Verfügung."}],"affected":[{"vendor":"n/a","product":"ThingsBoard","versions":[{"version":"4.1","status":"affected"}],"modules":["Add Gateway Handler"]}],"references":[{"url":"https://vuldb.com/?id.320416","name":"VDB-320416 | ThingsBoard Add Gateway special elements used in a template engine","tags":["vdb-entry"]},{"url":"https://vuldb.com/?ctiid.320416","name":"VDB-320416 | CTI Indicators (IOB, IOC, TTP)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.626292","name":"Submit #626292 | ThingsBoard  ThingsBoard IoT Platform 4.1.0 Stored Client-Side Template Injection (CSTI)","tags":["third-party-advisory"]},{"url":"https://drive.google.com/file/d/1cZy-rfQXsF58kJIVs4UXj7usXJuhjZjA/view","tags":["broken-link","exploit"]}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":5.3,"vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","baseSeverity":"MEDIUM"}},{"cvssV3_1":{"version":"3.1","baseScore":4.3,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:P/RL:X/RC:C","baseSeverity":"MEDIUM"}},{"cvssV3_0":{"version":"3.0","baseScore":4.3,"vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:P/RL:X/RC:C","baseSeverity":"MEDIUM"}},{"cvssV2_0":{"version":"2.0","baseScore":4,"vectorString":"AV:N/AC:L/Au:S/C:N/I:P/A:N/E:POC/RL:ND/RC:C"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1336","type":"CWE","lang":"en","description":"Improper Neutralization of Special Elements Used in a Template Engine"}]},{"descriptions":[{"cweId":"CWE-791","type":"CWE","lang":"en","description":"Incomplete Filtering of Special Elements"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2025-08-17T22:32:05.887Z"},"timeline":[{"time":"2025-08-17T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2025-08-17T02:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2025-08-17T14:49:47.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"xhalyl (VulDB User)","type":"reporter"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-08-18T17:41:27.222238Z","id":"CVE-2025-9094","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-08-18T17:42:25.755Z"}}]}}}