CVE-2019-11581 — Atlassian Jira Server and Data Center Server-Side Template Injection Vulnerability

CVE-2019-11581

Atlassian Jira — Velocity template injection in the Contact Administrators feature yields remote code execution

What is Atlassian Jira?

Jira Server and Data Center are among the most widely deployed issue-tracking and project-management platforms in enterprise and government environments, often holding sensitive project data, credentials embedded in tickets, and integration secrets for connected development tooling. Its ubiquity in software organizations makes any pre-authentication or low-friction remote code execution bug in Jira an especially attractive target.

Overview

CVE-2019-11581 is a server-side template injection (SSTI) vulnerability in Jira Server and Data Center's "Contact Administrators" and outgoing-email template features. If an administrator has left these template-editing features misconfigured or exposed to non-trusted users, an attacker can inject a malicious Apache Velocity template expression that Jira evaluates server-side, leading to arbitrary remote code execution with the privileges of the Jira application.

Technical Details

The root cause (CWE-74, improper neutralization of special elements/injection) is that certain administrator-editable email/notification templates (such as the template used by the "Contact Administrators" form and the "Deploy plugin" or SMTP mail server configuration templates) are rendered using the Apache Velocity templating engine without adequately restricting the template syntax an attacker can supply. Velocity templates can invoke arbitrary Java methods, so injecting a crafted expression into a template field lets an attacker execute operating-system commands or Java code when Jira later renders that template — for instance, when it sends an email notification. Exploitation typically requires an attacker to reach a Jira instance where template-editing functionality is accessible (either because an administrator account is compromised, or because certain configurations expose the affected functionality more broadly), which the CVSS vector reflects as requiring no privileges or user interaction once the vulnerable pathway is reachable.

Discovery

Atlassian identified and disclosed this vulnerability itself, publishing a security advisory and patched Jira releases in July 2019 that harden the template rendering pathway against injection.

Exploitation Context

This bug has seen sustained exploitation against internet-facing Jira instances that were not promptly patched, and has appeared in the toolkits of both opportunistic scanning campaigns and more sophisticated intrusions seeking access to enterprise source code and project data. Its CISA KEV listing confirms real-world exploitation, consistent with the pattern of older, unpatched Atlassian products remaining attractive long-term targets years after a fix is available.

Remediation

  1. Upgrade to a patched Jira Server or Data Center release (7.6.14, 7.13.5, 8.0.3, 8.1.2, 8.2.3, or later) that hardens the Velocity template rendering pathway.
  2. Restrict access to Jira's administrative template-editing functionality to trusted, MFA-protected administrator accounts only.
  3. Avoid exposing Jira's "Contact Administrators" and related outbound-mail configuration features to untrusted networks.
  4. Review Jira application logs and email-template configuration history for unexpected modifications that could indicate injection attempts.
  5. Apply network segmentation so that even if Jira is compromised, lateral movement into source control and other high-value systems is limited.

Key Details

PropertyValue
CVE ID CVE-2019-11581
Vendor / Product Atlassian — Jira Server and Data Center
NVD Published2019-08-09
NVD Last Modified2025-10-24
CVSS 3.1 Score9.8
CVSS 3.1 VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SeverityCRITICAL
CWE CWE-74 find similar ↗
CISA KEV Added2022-03-07
CISA KEV Deadline2022-09-07
Known Ransomware Use No

CVSS 3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Required Action

CISA BOD 22-01 Deadline: 2022-09-07. Apply updates per vendor instructions.

Timeline

DateEvent
2019-07-10Atlassian publishes security advisory and patched Jira releases
2019-08-09CVE published
2022-03-07Added to CISA Known Exploited Vulnerabilities catalog
2022-09-07CISA BOD 22-01 remediation deadline

References

ResourceType
NVD — CVE-2019-11581 Vulnerability Database
CISA KEV Catalog Entry US Government