CVEvulnerability
CVE-2026-55240
9.1 CRITICAL
Official page ↗
- Status
- Deferred
- Published
- 2026-10-15
- Last modified
- 2026-10-28
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.1 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- Weaknesses
- CWE-1336
Description
Tianji is an open source analytics, uptime monitoring, and server status platform. Prior to 1.31.29, formatString() in src/server/utils/template.ts passes survey feedTemplate and monitor notification templates to lodash template(), while the default evaluate pattern remains enabled. A workspace administrator can store an evaluate block using the <% code %> form, and the public survey.submit endpoint renders a survey template when an unauthenticated user submits a response. The compiled template executes server-side JavaScript in the Tianji Node.js process, allowing command execution, secret disclosure, data modification, or service disruption. This issue is fixed in version 1.31.29.
Related
Weakness · CWE (1)
- CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine weakness
References
- https://github.com/msgbyte/tianji/commit/132ff67907df897d222829ea8ad1a018ff74df48 github.com
- https://github.com/msgbyte/tianji/releases/tag/v1.31.29 github.com
- https://github.com/msgbyte/tianji/security/advisories/GHSA-5grg-j3cr-3hpm github.com
- https://github.com/msgbyte/tianji/security/advisories/GHSA-5grg-j3cr-3hpm github.com