CVE-2024-21686
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 · uneditedThis High severity Stored XSS vulnerability was introduced in versions 7.13 of Confluence Data Center and Server. This Stored XSS vulnerability, with a CVSS Score of 7.3, allows an authenticated attacker to execute arbitrary HTML or JavaScript code on a victims browser which has high impact to confidentiality, high impact to integrity, no impact to availability, and requires user interaction. Atlassian recommends that Confluence Data Center and Server customers upgrade to latest version, if you are unable to do so, upgrade your instance to one of the specified supported fixed versions listed on this CVE See the release notes (https://confluence.atlassian.com/doc/confluence-release-notes-327.html). You can download the latest version of Confluence Data Center and Server from the download center (https://www.atlassian.com/software/confluence/download-archives). This vulnerability was reported via our Bug Bounty program.
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 Stored XSS vulnerability in Confluence Data Center and Server version 7.13, where an authenticated attacker can inject malicious HTML or JavaScript code that persists on the server and executes in the browsers of users who view the compromised content.
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< 7.19.22>= 7.20.0, < 8.5.9>= 8.6.0, < 8.9.1< 7.19.22>= 7.20.0, < 8.5.9CVSS 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
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/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.
-
Identify Confluence installation typeDetermine whether the installation is Confluence Data Center or Confluence Server. Check the product name displayed in the application UI or in installation documentation.Affected if The installation is Confluence Data Center or Server (both are affected)
-
Locate the installed Confluence versionAccess the Confluence administration console or check the About page (typically at /about confluence.action) to find the exact version number running in the environment.Affected if The exact version number cannot be determined or is not visible
-
Compare version against affected rangesCross-reference the installed version with the following affected ranges: Confluence Data Center and Server versions < 7.19.22, or >= 7.20.0 and < 8.5.9, or >= 8.6.0 and < 8.9.1Affected if The installed version falls within any of these ranges: < 7.19.22, >= 7.20.0 and < 8.5.9, or >= 8.6.0 and < 8.9.1
-
Verify user authentication is enabledConfirm that the Confluence instance has user authentication enabled, as this vulnerability requires an authenticated attacker to inject the malicious payload.Affected if User authentication is enabled and the version is within the affected ranges
-
Review content creation capabilitiesCheck which users have the ability to create or edit Confluence pages, as an authenticated user with content creation privileges could exploit this stored XSS.Affected if Multiple users or groups have content creation permissions and the version is affected
The environment is affected if Confluence Data Center or Server is running a version within the ranges < 7.19.22, >= 7.20.0 and < 8.5.9, or >= 8.6.0 and < 8.9.1, and user authentication is enabled.
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 · scoped7.19.228.5.98.9.1
Upgrade Confluence Data Center and Server to the latest version or one of the specified supported fixed versions listed in the Atlassian security advisory.
Confluence Data Center/Server 7.19.22, 8.5.9, 8.9.1, or latest stable release
- 1. Back up your Confluence database and home directory before upgrading
- 2. Review the Confluence upgrade guide and release notes at https://confluence.atlassian.com/doc/confluence-release-notes-327.html
- 3. Download the appropriate fixed version from https://www.atlassian.com/software/confluence/download-archives
- 4. Stop the Confluence application
- 5. Install the fixed version (7.19.22, 8.5.9, 8.9.1, or later) following Atlassian's upgrade documentation
- 6. Start Confluence and verify the upgrade was successful
- 7. Validate that the XSS vulnerability is no longer present
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation8.0 h
- Implementation16.0 h
- Testing12.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $11,200.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-21686 — 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-2024-21686 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