Description
ThingsBoard before 3.5 allows Server-Side Template Injection if users are allowed to modify an email template, because Apache FreeMarker supports freemarker.template.utility.Execute (for content sent to the /api/admin/settings endpoint).
Remediation
References
https://freemarker.apache.org/docs/api/freemarker/template/utility/Execute.html
https://herolab.usd.de/security-advisories/usd-2023-0010/
Related Vulnerabilities
CVE-2019-1010266 Vulnerability in maven package org.webjars:lodash
CVE-2008-6504 Vulnerability in maven package com.opensymphony:xwork
CVE-2023-37263 Vulnerability in npm package @strapi/plugin-content-manager
CVE-2019-19609 Vulnerability in npm package strapi
CVE-2015-0266 Vulnerability in maven package org.apache.ranger:ranger