Authenticated data modification via stored template injection
Published Aug 17, 2025 · Updated Aug 18, 2025
Stored template injection in ThingsBoard 4.1 Add Gateway allows remote authenticated users to alter interface data via crafted gateway input. The Add Gateway handler passes attacker-controlled data to a template engine without fully neutralizing special template elements; the precise function and parameter are undisclosed. A low-privileged account capable of adding a gateway is required, and the documented impact is limited to integrity rather than data disclosure or service interruption.
Summary
What happened
Stored template injection in ThingsBoard 4.1 Add Gateway allows remote authenticated users to alter interface data via crafted gateway input. The Add Gateway handler passes attacker-controlled data to a template engine without fully neutralizing special template elements; the precise function and parameter are undisclosed. A low-privileged account capable of adding a gateway is required, and the documented impact is limited to integrity rather than data disclosure or service interruption.
The record
- CVE
- CVE-2025-9094
- Published
- Aug 17, 2025
- Updated
- Aug 18, 2025
- Vendor
- ThingsBoard
- Product
- ThingsBoard
- Classifications
- CWE-1336, CWE-791, T1221
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 17, 2025CVE publishedPublication date reported by the CVE source.
- Aug 18, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- ThingsBoard 4.1 Add Gateway stored client-side template injection proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo