# CVE-2023-45303: ThingsBoard Server-Side Template Injection

- Severity: High 8.4 (CVSS:3.1, scored by mitre) `CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:H/S:C/UI:R`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.05%, higher than 65% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-10-06T00:00:00.000Z
- Modified: 2026-06-17T06:28:36.320Z
- Also known as: GHSA-6pgr-j9v4-xfvv
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- org.thingsboard:thingsboard (Maven): before 3.5
- thingsboard thingsboard: before 3.5

## Every score

- mitre: CVSS:3.1 8.4 High `CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:H/S:C/UI:R`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://herolab.usd.de/security-advisories/usd-2023-0010/> (exploit)
- <https://freemarker.apache.org/docs/api/freemarker/template/utility/Execute.html> (exploit, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-45303> (advisory)
- <https://herolab.usd.de/security-advisories/usd-2023-0010> (web)

## Sources

- CVE List: [CVE-2023-45303](https://www.cve.org/CVERecord?id=CVE-2023-45303), CVE Terms of Use, modified 2024-09-19
- GitHub Advisory Database: [GHSA-6pgr-j9v4-xfvv](https://github.com/advisories/GHSA-6pgr-j9v4-xfvv), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-45303](https://nvd.nist.gov/vuln/detail/CVE-2023-45303), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-45303 · Whole record: https://cve.day/CVE-2023-45303.json · Rebuilt by cve.day 2026-11-25T22:58:28.510Z
