{"id":"CVE-2023-45303","aliases":["EUVD-2023-2677","GHSA-6pgr-j9v4-xfvv"],"status":"published","title":"ThingsBoard Server-Side Template Injection","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).","severity":{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:H/S:C/UI:R","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.01049,"percentile":0.64719,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-74"],"published":"2023-10-06T00:00:00Z","modified":"2026-10-28T02:30:47Z","fixes":[{"ecosystem":"Maven","package":"org.thingsboard:thingsboard","fixed_in":["3.5"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.thingsboard:thingsboard","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.thingsboard:thingsboard","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5"}]}]}],"products":[{"vendor":"thingsboard","product":"thingsboard"}],"references":[{"url":"https://herolab.usd.de/security-advisories/usd-2023-0010/","tags":["x_transferred","Exploit","advisory"]},{"url":"https://freemarker.apache.org/docs/api/freemarker/template/utility/Execute.html","tags":["x_transferred","Exploit","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45303","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-6pgr-j9v4-xfvv"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/45xxx/CVE-2023-45303.json","tags":["advisory"]},{"url":"https://herolab.usd.de/security-advisories/usd-2023-0010","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2023-45303","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).","status":"published","published":"2023-10-06T00:00:00Z","modified":"2024-09-19T18:41:34.903Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:H/S:C/UI:R","level":"high","assessor":"cna"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:35:22.984825Z"}],"euvd":[{"id":"EUVD-2023-2677","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).","status":"published","published":"2023-10-06T00:00:00Z","modified":"2024-09-19T18:41:34Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:H/S:C/UI:R","level":"high"}],"updated_at":"2026-11-03T00:28:18.665654Z"}],"ghsa":[{"id":"GHSA-6pgr-j9v4-xfvv","title":"ThingsBoard Server-Side Template Injection","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.","status":"published","published":"2023-10-06T21:30:49Z","modified":"2023-11-11T05:05:38Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:37:20.311836Z"}],"nvd":[{"id":"CVE-2023-45303","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).","status":"published","published":"2023-10-06T19:15:13.04Z","modified":"2026-06-17T06:28:36.32Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:08:36.656095Z"}],"osv":[{"id":"CVE-2023-45303","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).","status":"published","published":"2023-10-06T00:00:00Z","modified":"2026-10-28T02:30:47.490851176Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:H/S:C/UI:R","level":"high"}],"updated_at":"2026-11-02T15:44:33.792101Z"},{"id":"GHSA-6pgr-j9v4-xfvv","title":"ThingsBoard Server-Side Template Injection","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.","status":"published","published":"2023-10-06T21:30:49Z","modified":"2023-11-08T04:13:37.998808Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T15:46:39.965326Z"}]}}
