← Vulnerability feed

Vulnerability record · CVE-2022-36799 · published 1 August 2022

CVE-2022-36799: Atlassian Jira Server and Data Center template injection RCE

Atlassian · Jira Data Center

Jira Server and Data Center used the XStream library inside Velocity email templates, allowing template injection that could execute arbitrary code. Atlassian shipped a security improvement that blocks XStream-based code execution in those templates. The flaw matters because it gives a privileged account a path to full remote code execution on the Jira host.

7.2 CVSS 3.1 High EPSS 45% · top 1.3% CWE-94 · Code injection
7.2CVSS 3.1 base score
45%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
2References
17 Jun 2026Last modified by NVD

Description

This issue exists to document that a security improvement in the way that Jira Server and Data Center use templates has been implemented. Affected versions of Atlassian Jira Server and Data Center allowed remote attackers with system administrator permissions to execute arbitrary code via Template Injection leading to Remote Code Execution (RCE) in the Email Templates feature. In this case the security improvement was to protect against using the XStream library to be able to execute arbitrary code in velocity templates. The affected versions are before version 8.13.19, from version 8.14.0 before 8.20.7, and from version 8.21.0 before 8.22.1.

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

high priorityRemote code execution with high confidentiality, integrity and availability impact, though it requires system administrator privileges.

What it is

Jira Server and Data Center used the XStream library inside Velocity email templates, allowing template injection that could execute arbitrary code. Atlassian shipped a security improvement that blocks XStream-based code execution in those templates. The flaw matters because it gives a privileged account a path to full remote code execution on the Jira host.

Impact

An attacker with system administrator permissions can execute arbitrary code on the Jira server, gaining control of the application host and any data or credentials it holds.

Attack surface

Reachable over the network through the Email Templates feature; the CVSS vector shows network access with high privileges required and no user interaction.

Exploitation

Not listed in CISA KEV and no public exploit references are tagged, but EPSS is 0.45277 (98.7th percentile), indicating elevated predicted exploitation activity.

What to do

  • Upgrade Jira Server and Data Center to 8.13.19, 8.20.7, 8.22.1 or later as applicable.
  • Restrict and audit system administrator accounts, since exploitation requires that privilege level.
  • Review and limit who can edit Email Templates in Jira.
  • Monitor for unexpected outbound connections or process execution from the Jira host.

Detection

  • Alert on changes to Jira email templates and related configuration.
  • Monitor Jira logs for Velocity or XStream template errors and unusual rendering activity.
  • Baseline and review system administrator account activity, especially template edits followed by process creation.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://jira.atlassian.com/browse/JRASERVER-73582 Issue TrackingVendor Advisory
https://jira.atlassian.com/browse/JRASERVER-73582 Issue TrackingVendor Advisory

Track CVE-2022-36799 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2019-11581Atlassian Jira Server and Data Center server-side template injectionJira Server and Data Center contain a server-side template injection flaw in the ContactAdministrators and SendBulkMail actions. An attacker can inje…KEVEPSS 85%analysed5.3CVE-2021-26086Atlassian Jira Server and Data Center path traversal file readJira Server and Data Center contain a path traversal flaw in the /WEB-INF/web.xml endpoint that lets remote attackers read particular files. The affe…KEVEPSS 100%analysed9.8CVE-2022-26136Atlassian bamboo improper authentication vulnerabilityA vulnerability in multiple Atlassian products allows a remote, unauthenticated attacker to bypass Servlet Filters used by first and third party apps…EPSS 5.4%9.8CVE-2022-0540Atlassian Jira Seraph authentication bypass via crafted HTTP requestJira Server, Data Center and Jira Service Management contain an authentication bypass in the Seraph component, reachable by sending a specially craft…EPSS 88%analysed9.8CVE-2020-36239Atlassian Jira Data Center Ehcache RMI service missing authentication RCEJira Data Center, Jira Core Data Center, Jira Software Data Center and Jira Service Management Data Center exposed an Ehcache RMI network service on …EPSS 50%analysed8.8CVE-2024-21683Atlassian Confluence Data Center and Server code injection RCEConfluence Data Center and Server contain a code injection flaw introduced in version 5.2 that allows an authenticated attacker to execute arbitrary …EPSS 88%analysed8.8CVE-2022-26137Atlassian bamboo origin validation error vulnerabilityA vulnerability in multiple Atlassian products allows a remote, unauthenticated attacker to cause additional Servlet Filters to be invoked when the a…EPSS 2.3%8.7CVE-2025-22167Atlassian jira data center path traversal vulnerabilityThis High severity Path Traversal (Arbitrary Write) vulnerability was introduced in versions: 9.12.0, 10.3.0 and remain present in 11.0.0 of Jira Sof…EPSS 0.50%

Source: NIST National Vulnerability Database (record CVE-2022-36799), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.