{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2024-21686 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-21686 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-21686 is a high-severity cross-site scripting vulnerability in Atlassian Confluence Data Center, published on 16 Jul 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-21686 and fix it if it is affected.\n\nWhat it is: CVE-2024-21686 is a high-severity cross-site scripting vulnerability in Atlassian Confluence Data Center, published on 16 Jul 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-21686 in the wild and no public exploit code.\n\nAffected product: Atlassian Confluence Data Center. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-21686/ (Markdown: https://insights.sbomify.com/CVE-2024-21686/index.md)","id":"CVE-2024-21686","markdown":"https://insights.sbomify.com/CVE-2024-21686/index.md","name":"CVE-2024-21686","record":{"aliases":["GHSA-7x4x-g7pr-2356"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Confluence Data Center","requires_auth":"low_privilege","summary":"An authenticated attacker can inject malicious scripts into Confluence pages, allowing arbitrary code execution in victims' browsers.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"atlassian","cpe":[{"product":"confluence_data_center","vendor":"atlassian"},{"product":"confluence_server","vendor":"atlassian"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"This High severity Stored XSS vulnerability was introduced in versions 7.13 of Confluence Data Center and Server.\n\nThis 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.\n\nAtlassian 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\n\nSee 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).\n\nThis vulnerability was reported via our Bug Bounty program.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Cross-site scripting in Confluence Data Center","id":"CVE-2024-21686","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"File upload in Bamboo Data Center","id":"CVE-2024-21687"},"packages":[],"prev":{"headline":"Information disclosure in Jira Core Data Center","id":"CVE-2024-21685"},"products":["Confluence Data Center","Confluence Server"],"published":"2024-07-16","related":[{"cvss_score":10,"headline":"Atlassian Confluence Data Center and Server Template Injection","id":"CVE-2023-22527","kev_date_added":"2024-01-24","published":"2024-01-16"},{"cvss_score":10,"headline":"Atlassian Confluence Data Center and Server Improper Authorization","id":"CVE-2023-22518","kev_date_added":"2023-11-07","published":"2023-10-31"},{"cvss_score":10,"headline":"Atlassian Confluence Data Center and Server Broken Access Control","id":"CVE-2023-22515","kev_date_added":"2023-10-05","published":"2023-10-04"},{"cvss_score":9.8,"headline":"Atlassian Confluence Server and Data Center Remote Code Execution","id":"CVE-2022-26134","kev_date_added":"2022-06-02","published":"2022-06-03"},{"cvss_score":9.8,"headline":"Atlassian Confluence Server and Data Center Object-Graph Navigation Language (OGNL) Injection","id":"CVE-2021-26084","kev_date_added":"2021-11-03","published":"2021-08-30"},{"cvss_score":5.3,"headline":"Atlassian Confluence Server Pre-Authorization Arbitrary File Read","id":"CVE-2021-26085","kev_date_added":"2022-03-28","published":"2021-08-03"},{"cvss_score":9,"headline":"Code injection in Confluence Data Center","id":"CVE-2023-22522","kev_date_added":null,"published":"2023-12-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-03-19","vendors":["Atlassian"]},"summary":"An authenticated attacker can inject malicious scripts into Confluence pages, allowing arbitrary code execution in victims' browsers.","url":"https://insights.sbomify.com/CVE-2024-21686/"}