What’s Vulnerable › Vulnerabilities
CVE-2021-43942
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 55.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-01-04 · updated 2026-06-17
- Weakness: CWE-79
Description
Affected versions of Atlassian Jira Server and Data Center allow remote attackers to inject arbitrary HTML or JavaScript via a Reflected Cross-Site Scripting (XSS) vulnerability in the /rest/collectors/1.0/template/custom endpoint. To exploit this issue, the attacker must trick a user into visiting a malicious website. The affected versions are before version 8.13.15, and from version 8.14.0 before 8.20.3.
Affected products
- Atlassian Jira: from 8.14.0 before 8.20.3 — fixed in 8.20.3
- Atlassian Jira Server And Data Center: before 8.13.5 — fixed in 8.13.5
How to fix
Upgrade to a fixed version: Atlassian Jira 8.20.3; Atlassian Jira Server And Data Center 8.13.5. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2021-43942 or the next vulnerability affects your stack