{"id":"CVE-2023-45303","aliases":["CVE-2023-45303","GHSA-6pgr-j9v4-xfvv"],"related":[],"kind":"vulnerability","state":"published","title":"ThingsBoard Server-Side Template Injection","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"ThingsBoard anterior a 3.5 permite la inyección de plantillas del lado del servidor si los usuarios pueden modificar una plantilla de correo electrónico, porque Apache FreeMarker admite freemarker.template.utility.Execute (para contenido enviado al endpoint /api/admin/settings).","source":"nvd"}],"published":"2023-10-06T00:00:00.000Z","modified":"2026-06-17T06:28:36.320Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:H/S:C/UI:R","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:H/S:C/UI:R","score":8.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-74"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.5"}],"ecosystem":"Maven","package":"org.thingsboard:thingsboard","purl":"pkg:maven/org.thingsboard/thingsboard","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.5"}],"vendor":"thingsboard","product":"thingsboard","cpe":"cpe:2.3:a:thingsboard:thingsboard:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://herolab.usd.de/security-advisories/usd-2023-0010/","tags":["exploit","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://freemarker.apache.org/docs/api/freemarker/template/utility/Execute.html","tags":["exploit","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45303","tags":["advisory"],"sources":["ghsa"]},{"url":"https://herolab.usd.de/security-advisories/usd-2023-0010","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-09-19T18:38:22.320Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-45303","url":"https://www.cve.org/CVERecord?id=CVE-2023-45303","licence":"CVE Terms of Use","modified":"2024-09-19T18:41:34.903Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6pgr-j9v4-xfvv","url":"https://github.com/advisories/GHSA-6pgr-j9v4-xfvv","licence":"CC-BY-4.0","modified":"2023-11-08T04:13:37.998Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-45303","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45303","licence":"Public domain","modified":"2026-06-17T06:28:36.320Z"}],"updatedAt":"2026-11-25T22:58:28.510Z","epss":{"score":0.01049,"percentile":0.65182,"date":"2026-12-01T12:00:22.000Z"}}