Unauthenticated code execution via attacker-selected templates
Published Mar 25, 2019 · Updated Oct 21, 2025
Template injection in Atlassian Confluence Server's Widget Connector allows remote attackers to execute code via macro preview requests. The /rest/tinymce/1/macro/preview endpoint accepts an attacker-controlled _template parameter and renders the selected resource as a Velocity template. Exploitation requires a reachable vulnerable instance with Widget Connector enabled, but no credentials or user interaction; injected templates execute code with the server process's privileges.
Summary
What happened
Template injection in Atlassian Confluence Server's Widget Connector allows remote attackers to execute code via macro preview requests. The /rest/tinymce/1/macro/preview endpoint accepts an attacker-controlled _template parameter and renders the selected resource as a Velocity template. Exploitation requires a reachable vulnerable instance with Widget Connector enabled, but no credentials or user interaction; injected templates execute code with the server process's privileges.
The record
- CVE
- CVE-2019-3396
- Published
- Mar 25, 2019
- Updated
- Oct 21, 2025
- Vendor
- Atlassian
- Product
- Confluence Server
- Classifications
- CWE-22, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 25, 2019CVE publishedPublication date reported by the CVE source.
- Oct 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.7.0 <unspecified
- Affected versionversion=next of 6.13.0 <unspecified
- Affected versionversion=next of 6.14.0 <unspecified
- Affected versionversion=unspecified <6.12.3
- Affected versionversion=unspecified <6.13.3
- Affected versionversion=unspecified <6.14.2
- Affected versionversion=unspecified <6.6.12
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Activity data is delayed. The latest report is Sep 28, 2026.
View daily counts
| Reporting day | Unique IPs |
|---|---|
| Sep 22, 2026 | 13 |
| Sep 23, 2026 | 6 |
| Sep 24, 2026 | 18 |
| Sep 25, 2026 | 18 |
| Sep 26, 2026 | 9 |
| Sep 27, 2026 | 17 |
| Sep 28, 2026 | 10 |
Weakness, pattern, technique
Public exploit references
- Atlassian Confluence Widget Connector Macro Velocity Template Injectionfunctional · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- Nation-state and criminal exploitation reported by NSAreported exploitation
- CISA Known Exploited Vulnerabilities inclusionknown exploited catalog
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Get started to see how Hinoki identifies affected software and validates exploitability in your environment.
Contact us