CVE-2021-43942 Cross-site scripting in Jira Data Center

Medium 6.1 Published Updated

Remote attackers can inject arbitrary HTML or JavaScript via a reflected XSS vulnerability in Jira, potentially leading to code execution or account takeover.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-43942?

CVE-2021-43942 is a medium-severity cross-site scripting vulnerability in Atlassian Jira Server, published on 4 Jan 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2021-43942?

It affects 2 products.

Products include Atlassian Jira Server, Atlassian Jira Server and Data Center.

How do I fix CVE-2021-43942?

No fix has been published for CVE-2021-43942 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2021-43942 being exploited?

There is no known exploitation of CVE-2021-43942 in the wild and no public exploit code.

All Atlassian Jira Server vulnerabilities

Sources

Also known as GHSA-jgc7-95gc-23vp.

Is CVE-2021-43942 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free