CVE-2021-43942
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedAffected 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThis is a reflected Cross-Site Scripting (XSS) vulnerability in Atlassian Jira Server and Data Center's /rest/collectors/1.0/template/custom endpoint. Attackers can inject arbitrary HTML or JavaScript by tricking users into visiting malicious websites that redirect to the vulnerable Jira endpoint with crafted parameters.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 8.14.0, < 8.20.3< 8.13.5CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Determine installed Jira versionLog into Jira as administrator, click the gear icon > Applications > Jira software. The version is displayed on the right side under 'Jira software' heading. Alternatively, access the /rest/api/2/serverInfo endpoint to retrieve version programmatically.Affected if The version number falls within the ranges: 8.14.0 through 8.20.2 (inclusive) for Jira Server, OR any version below 8.13.5 for Jira Server and Data Center.
-
Confirm Jira deployment typeVerify whether your deployment is Jira Server (self-hosted standalone) or Jira Data Center (clustered deployment). Check your installation documentation or the /rest/api/2/serverInfo response field 'deploymentType'.Affected if Running Jira Server or Data Center versions 8.14.0 to < 8.20.3, or Jira Server and Data Center < 8.13.5.
-
Verify the Issue Collector REST endpoint is accessibleAttempt to access /rest/collectors/1.0/template/custom?foo=bar in a browser or via curl. The endpoint typically responds with JSON even without authentication.Affected if The endpoint returns a valid HTTP response (status 200). This indicates the vulnerable endpoint is exposed, though exploitation still requires crafting malicious URL parameters.
-
Review access logs for suspicious collector endpoint requestsSearch your Jira access logs (typically in <jira-home>/logs/atlassian-jira-access-log.log) for requests to /rest/collectors/1.0/template/custom containing unusual characters like <script>, javascript:, or other HTML/JS tags in URL parameters.Affected if Log entries show requests to the collector endpoint with potential XSS payload patterns in query parameters.
Your environment is affected if Jira Server or Data Center version is 8.14.0 through 8.20.2, or any version below 8.13.5.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped8.13.58.20.3
Upgrade Jira to version 8.13.15 or 8.20.3 or later to remediate this vulnerability.
Jira Server/Data Center 8.13.15+ or 8.20.3+ (depending on current version branch)
- 1. Identify the current Jira Server or Data Center version from the Atlassian Administration console
- 2. If the current version is 8.13.x and less than 8.13.15, plan an upgrade to version 8.13.15 or later (e.g., 8.13.15, 8.13.16, etc.)
- 3. If the current version is 8.14.0 through 8.20.2, plan an upgrade to version 8.20.3 or later (e.g., 8.20.3, 8.20.4, 8.21.x, etc.)
- 4. Review the Jira upgrade guide at https://confluence.atlassian.com/jira/upgrade-158915062.html for pre-upgrade checklist items
- 5. Create a full backup of the Jira database and home directory before upgrading
- 6. Download the target fixed version from https://www.atlassian.com/software/jira/download
- 7. Perform the upgrade following Atlassian's standard upgrade procedure
- 8. After upgrade, verify the /rest/collectors/1.0/template/custom endpoint is no longer vulnerable
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,888.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2021-43942 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2021-43942 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data