Skip to main content
Mallory
CriticalCISA KEVExploited in the wildPublic exploit

Atlassian Confluence Widget Connector SSTI RCE

IdentifiersCVE-2019-3396CWE-94

CVE-2019-3396 is a server-side template injection vulnerability in the Widget Connector macro component of Atlassian Confluence Server and Data Center. Affected versions include Confluence Server before 6.6.12 in the 6.6.x branch, 6.7.0 through before 6.12.3, 6.13.0 through before 6.13.3, and 6.14.0 through before 6.14.2. The flaw allows a remote attacker to abuse the Widget Connector functionality to trigger server-side template injection, which can also be leveraged for path traversal and ultimately remote code execution on the Confluence host. The provided content explicitly identifies the vulnerable component as the Widget Connector macro and describes the issue as stemming from a programming error in that component.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can allow an unauthenticated remote attacker to execute arbitrary code on the vulnerable Confluence Server or Data Center instance. The content also indicates associated path traversal capability, which may enable access to unintended files or templates as part of exploitation. In practice, compromise of the Confluence application server can lead to full takeover of the Confluence instance, deployment of malware or web shells, theft of data accessible to the application, and use of the server as a pivot point for further intrusion. The vulnerability has been actively exploited in the wild, including by ransomware operators and state-linked actors.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, reduce exposure of Confluence Server and Data Center instances from the internet, especially unauthenticated access to vulnerable systems. Prioritize internet-facing deployments for emergency remediation, monitor for signs of exploitation or post-compromise activity, and perform incident response review on systems that remained vulnerable after public disclosure and PoC release. Because the content states vulnerable Confluence servers are easy to discover on the internet and were actively exploited, temporary isolation or strict access restriction is an appropriate mitigation until patching can be completed.

Remediation

Patch, then assume compromise.

Upgrade Atlassian Confluence Server or Data Center to a fixed release. The content identifies the patched versions as 6.6.12 or later for the 6.6.x branch, 6.12.3 or later for the 6.12.x branch, 6.13.3 or later for the 6.13.x branch, and 6.14.2 or later for the 6.14.x branch. Organizations should immediately update vulnerable internet-facing Confluence systems and then investigate for indicators of compromise, because exploitation was observed in the wild shortly after public PoC release and may have occurred prior to patching.
PUBLIC EXPLOITS

Exploits

3 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (4 hidden).

VALID 3 / 7 TOTALView more in app
CVE-2019-3396MaturityPoCVerified exploit

This repository provides a working exploit for CVE-2019-3396, a critical remote code execution (RCE) vulnerability in Atlassian Confluence (versions 6.6.0-6.6.11, 6.12.0-6.12.2, 6.13.0-6.13.2, 6.14.0-6.14.1). The vulnerability is due to a server-side template injection (SSTI) in the Widget Connector macro, which allows unauthenticated attackers to execute arbitrary system commands on the server. The repository contains four files: - `README.md`: Detailed description of the vulnerability, affected versions, exploitation steps, and mitigation advice. - `poc.py`: A Python proof-of-concept script that automates exploitation. It sends a crafted POST request to the vulnerable `/rest/tinymce/1/macro/preview` endpoint, instructing the server to fetch and execute a malicious Velocity template from an attacker-controlled FTP server. The script takes the target URL and a command to execute as arguments, and prints the command output if successful. - `cmd.vm`: The malicious Velocity template that executes arbitrary system commands on the target server and returns their output. - `LICENSE`: Creative Commons CC0 license. To use the exploit, the attacker must host `cmd.vm` on an FTP server (e.g., using `pyftpdlib`), then run `poc.py` with the target Confluence URL and the desired command. The exploit is operational and provides full remote code execution capabilities. The main attack vector is network-based, targeting the Confluence REST API endpoint. The repository also demonstrates file read capabilities (e.g., reading `/etc/passwd`). No detection scripts are included; the code is focused on exploitation. The exploit is not part of a larger framework and is self-contained.

kh4sh3iDisclosed Sep 16, 2025pythonvelocitynetwork
CVE-2019-3396_EXPMaturityPoCVerified exploit

This repository provides a working exploit for CVE-2019-3396, a server-side template injection (SSTI) vulnerability in Atlassian Confluence's /rest/tinymce/1/macro/preview endpoint. The main exploit script (RCE_exp.py) is written in Python and allows an attacker to execute arbitrary system commands on a vulnerable Confluence server. The exploit works by instructing the target server to fetch and process a malicious Velocity template (cmd.vm) hosted by the attacker via FTP or HTTPS. The cmd.vm file contains Velocity code that executes arbitrary commands passed via the HTTP request. The repository includes: - RCE_exp.py: The main exploit script, which can read files or execute commands on the target. - cmd.vm: The malicious Velocity template used to trigger command execution. - README.md: Usage instructions and a brief description of the exploit. The exploit requires the attacker to host cmd.vm on an FTP or HTTPS server and to provide the target Confluence URL and desired command as arguments. The exploit is operational and demonstrates successful command execution, returning the output to the attacker.

Yt1g3rDisclosed Apr 10, 2019pythonvelocitynetwork
CVE-2019-3396MaturityPoCVerified exploit

This repository provides a working exploit for CVE-2019-3396, a remote code execution vulnerability in Atlassian Confluence. The exploit consists of a Python script (cve-2019-3396.py) that sends a crafted POST request to the vulnerable /rest/tinymce/1/macro/preview endpoint. The request abuses the macro preview functionality by supplying a _template parameter that points to a malicious Velocity template (r.vm) hosted on an attacker-controlled FTP server. This template enables arbitrary command execution on the target server. The README.md provides detailed usage instructions, including how to set up the FTP server, example payloads for file reading, command execution, and reverse shell access. The exploit is operational and demonstrates full RCE capabilities, including file read, command execution, and reverse shell. The main fingerprintable endpoints are the Confluence macro preview API and the attacker's FTP server hosting the malicious template.

jas502nDisclosed Apr 10, 2019pythonnetwork
EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
AtlassianConfluence Serverapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence3

Every observed campaign linking this CVE to a named adversary.

Associated malware6

Malware families riding this exploit, with evidence and IOCs.

Detection signatures2

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity

Community discussion across Reddit, Mastodon, and other social sources.